It is one of the reasons people aren't revolting against the T'rump taxes tariffs. Flooded with more distracting concerns, but once inflation begins to bite...
Standard playbook: distract from your own failures by blaming the poor and immigrants (and ignoring the robber barons), and have an (external) war.
All as described in the history books - and Babylon 5 (and to a lesser extent in Continuum).
Except this isn't about legal immigrants, but illegals. Plenty of legal immigrants support cracking down on illegals. I don't know about the US, but here in the UK, one has to jump through numerous hoops to come and work here legitimately. People who've done that, have every right to be angry with those who've broken the rules.
Trump also has other policies with widespread support such as taking action against universities who allow biological male athletes to compete against females, in violation of title IX.
Many people tolerate tariffs, even if they might make them poorer, because the government is doing other things they support. There are more important things than money.