The correct response is:
The U.S. government wanted to prevent spying by the Soviet Union during the Cold War.
The Red Scare after World War II was largely driven by fears of communist infiltration and espionage, particularly in the context of the Cold War and the threat posed by the Soviet Union.