The pressure build up can be quite a lot from fermentation. I’ve accidentally fermented drinks in glass swing top bottles. And upon attempting to open the bottle the pressure ripped the stopper and the metal parts right off the bottle at high speed.

If you were purposely fermenting something, you could build enough pressure to pop the bottle.

Yep. I once had half a bottle of kefir end up all over my kitchen ceiling. After that, I always opened them outside, pointing away from anyone.