Hitler invaded the Soviet Union in 1941, an act that drew the Soviets and Poles together in a shaky alliance.
The Soviets and the Poles became allies because of Hitler's invasion of the Soviet Union.
The Soviets and Poles weren't in an alliance.