Experience of American society in the second world war

How did the experience of American society in the second world war help explain the nations great anxiety about communism in the first years of the cold war