The factors that made the US and USSR allies in WWII and enemies in the cold war were the existence of nuclear weapons, the ability to be a military power, and the political and economic influence they had.
Despite these similarities, the differences between the two countries were huge, which spurred them to become enemies during the cold war and fight for the power of global influence.
More information about the cold war at the link:
https://brainly.com/question/1287649