Carbonation comes from dissolved CO2 gas coming out of solution. While I don't confess I understand exactly why this is true, I do know that CO2 loves scratches and imperfections, it gives it a reason to undissolve and bubble out of solution. This effect can be accelerated with dramatic effect if you shake up a beer before opening it. The air space inside the beer bottle or can will then be mixed thoroughly into the carbonated beer as tiny bubbles instead of just one single air bubble, so again the CO2 has a lot more surface to grab onto and can thus result in spraying beer all over your friend's face when he opens the container.
In much the same way, a beer with a bunch of crud moving around in the beer will always tend to have a bigger head, or might even seem overcarbonated when you first open the container. Also, a hazy beer will always seem more carbonated than a perfectly clear beer, given identical volumes of CO2 gas dissolved in the beer, even though the actual amount of CO2 dissolved in the beers is identical. It just comes out faster in the hazy or trubby beer than the clear one. The clear beer will eventually lose the same amount of fizz, just much more slowly. Meanwhile, the hazier beer will also tend to go flat sooner, like if you were to leave both beers sitting out for an hour before drinking them, the hazy beer would turn flat before the clear beer would, if all other variables were identical. But of course, who leaves a beer out for a full hour before drinking it?
That's my version and I'm sticking to it.