Final answer:
The federal government took such actions during the Red Scare due to the fear of communist infiltration.
Step-by-step explanation:
The federal government took such actions during the Red Scare due to the fear that communism had spread to the United States. The Red Scare was a period of intense anti-communist sentiment, and the government believed that there were communist agents and sympathizers infiltrating American society. This fear led to a crackdown on perceived threats, which included allowing federal agents to break into homes and offices without search warrants and make arrests without granting habeas corpus rights.
Learn more about The Red Scare and government actions