You're further pushing the narrative here. If the government had acted entirely within the law then people would be less upset about it. I don't think it'd be entirely gone, but lesser for sure. Until the right takes a logically defensive position on illegal immigration, they will continue to trigger this reaction.
That's the point; the right WANTS this reaction. It's how they will continue to capture the American center. Masked people waving Mexican flags while they stand on top of burned out police cars is a gift to them.
Trump's political superpower is his ability to take a base position that is entirely reasonable and agreeable to most people ("The US must enforce its federal immigration laws"), then use inflammatory rhetoric and legal boundary testing to whip his opposition into undisciplined, emotional overreactions that leave them in a worse political position than him. He has been absurdly successful in using this tactic since 2015.
I think that's a really succinct description of "how Trump works"....and it's also an interesting case study in Gerasimov's "Reflexive Control Doctrine".