system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why does dinging the top of a glass bottle with another glass bottle make the drink inside explode?

You know, like in all those viral videos?
gpt
When you throw a stone in a lake, it creates a wave that starts where the stone hits the water and expands away from that.  This is a pressure wave, where the amount of stuff is slightly higher at the wave.

When you knock a glass bottle against the another bottle, it creates a similar wave that expands up into the liquid of the bottle.  

If that liquid happens to have as much air as it can hold dissolved inside, when the increased pressure from the wave passes through, it briefly has to much dissolved air in a tiny space so some of the air has to un-dissolve out of the liquid.  As air takes up more space when not dissolved, it puts even more pressure on the liquid next to it, causing more air to un-dissolve, this creates a chain reaction through the entire bottle and causes an explosion of air to escape!