Not suddenly, no.51% of the voters didn't suddenly develop either a yearning for the Empire or a hatred of foreigners.
If anyone thinks that the problems with the delivery of medical services in ageing western countries where medical cost inflation has run at least twice as high as general inflation for decades is down to immigration they are either stupid or racist or both.
If anyone has a similar view in relation to welfare costs then the same applies.
Even the most cursory examination of the facts shows that immigration has little or no net impact on either issue.
It's also true to say that anyone who thinks the problems in health services are down to cuts in spending they are either blinded by ideology or stupid or both.