It was the Cold War. Everyone thought a conflict with the Soviet Union was inevitable, so the government took extreme measures to root out the weak.  It was harsh, and perhaps cruel, but dammit, there were Commies to fight and America had to be ready.