I thought it was pretty obvious why Hitler invaded the USSR. Fascism and communism are on completely opposite sides of the economic spectrum. Also, Hitler probably viewed them as a reason Germany lost WWI. And then Hitler probably was extremely overconfident and thought he could steamroll the Soviet Union like he had just about everybody but Great Britain at that point.
Not saying it was a smart idea, but I don't think Stalin should've been shocked when it happened.









