The brainwashing I have been notisking goes along the line "immigration necessary, immigration good for the economy, anyone opposed is a brute".
The fact, known for centuries, is that immigrants are competition for jobs, and always looked on with suspicion by the working class. Those who hold legally protected jobs do not fear them, those who are bosses hiring cheaper immigrant labout will say they're wonderful, those who have them as competitors for wares will see them as a problem or a threat. This is pretty much immutable.
It is not racism, or xenophobia (stupid concept), or "hate" (even more ridiculous). It's economic interests, social status, social position that are the main driver orf reactions to immigratuon. Many people do not waht to talk about that. Especially the ones profiting from immigrants.