I think, all pretty recently (atleast in the 'States), there's been much news and noise about the abuse and fraud of these systems designed to help the downtrodden.
Now whether that's all true, has always been true, is propaganda...whatever, but it's easy for me to understand why sentiment has been changing as the spotlight is focused more and more on the abuse of the systems as opposed to the benefits.
I also think there's some 'hierarchy of needs' going on here, where as the economy shifts and more and more Americans are struggling to afford housing, groceries, and other necessities, it's easy to feel like you should be putting yourself first over strangers. Combine that with the prior point, and you have a great recipe to build resentment. Selfish, maybe, but I can understand how you get there.
This is NOT to say 'There is no xenophobia' or anything...racism in general is alive and well in the USA... but I have pretty sound-minded people around me starting to echo this mindset, and this is my best understanding of what's been brewing.