It had its origins in the ballistic missile-based nuclear arms race between the two nations that occurred following World War II. The technological advantage required to rapidly achieve spaceflight milestones was seen as necessary for national security, and mixed with the symbolism and ideology of the time.