Why did they move?

Europe before Operation Barbarossa 1941

Barbarossa
Blue: Germany, annexed countries and allies
Red: Allies
Green: Soviet Union and annexed countries
White: Neutral countries