I think the majority voted for independence from the EU dictatorship that has grown and grown. It allowed in those countries that milked the system that more affluent better run countries had to pay into.
The open boarder policy might be of benefit to trade but also allowed the riff-raff to cross into countries that did not need them or want them. An example being the NHS might have employed some skilled from those countries but at the same time how much has it cost to treat those unskilled, unemployable who immediately became pregnant or were or have become seriously ill.
My analogy would be it is nice seeing your friends but you might not want them living with you for months or even years.
