Simply because they were different
They did not fit with american government and society
Socialist and anarchists were unpatriotic (opposed the war)
Anarchists believed in violence and had targeted americans with bombs
After the war, americans were distrustful of foreigners and their ideas