I'm gonna sound like a conspiracy nut here, but...
The right being funded by tech billionaires and running on a platform of "deport the foreigners" with a side dish of cutting benefits feels like it's positioning for AI taking desk jobs.
When desk jobs are done by AI then we're all going to be competing for the same manual jobs - lots of which are done by foreigners. Getting rid of the foreigners around the same time as loads of people are made redundant by AI feels intentional. We'll all have to go work minimum wage jobs delivering food or doing dom care or working in factories or farm labouring or whatever, and there won't be sufficient benefits for us to avoid it.