Roosevelt invaded morocco because it gave the US troops experience and also helped to protect the Suez canal.
Generals Eisenhower and Patton pushed the German troops back in North Africa.
This was during the second world war. The reason why there was an invasion of Africa was the fact that the Americans wanted to draw the German troops from the Eastern fronts.
Read more on the ww2 here:
https://brainly.com/question/651584