The threat of communism was a common theme in invasion literature.
After World War II there was a great fear of communism. That was one of the reasons why the Cold War was so important, there were the two sides of the globe trying to prove who was the most powerful. As it was extremely important at that time it became a common topic in literature.