Well, yes. Such is a referendum.
To be brutally honest, it's the fault of those who deliberately told the emotive lies, and those who funnelled millions of untraceable pounds through tax havens to fund the propagation of those lies, for the pretty obvious purposes of their own financial advancement.
You can't blame people for being fooled by attractive lies. The most intelligent amongst us can be fooled occasionally.