First, due to Boyle's Law, which states that the volume of a gas is inversely related to pressure, high pressure will act to compress air spaces, such as the lungs of a diving animal (or person), or t...First, due to Boyle's Law, which states that the volume of a gas is inversely related to pressure, high pressure will act to compress air spaces, such as the lungs of a diving animal (or person), or the space inside a submarine. The contents in the bottle are sealed under pressure, and as you open the bottle, you release the pressure, and the fluid can no longer hold all of the CO 2 that was dissolved in it, so the CO 2 escapes, forming bubbles.