Answer:
Because they, as many other inmigrants, were catholic and on that time there was a anti-Catholisim movement in United States.
Step-by-step explanation:
During that time (1820 and 1850) Protestantism in countries like United States and United Kingdom set the bases for radical groups which did not want any piece of Catholism in their lands. The radicals faced a problem when many inmigrants from Europe arrived to United States and wanted to keep practicing Catholisim, Germans included. This is why those groups like the Know Nothing promted hate and discrimination against German inmigrants.