

Density is the amount of weight in a specific volume. An object is buoyant (floats) if its relative density is less than that of the fluid it rests in. That means that in order for something to float on water, it needs to be less dense than water.
In the experiment, by squeezing the sides of the bottle, all of the matter ("stuff") in the bottle is under increased pressure. As you squeeze, water moves up inside the pipette, taking up the space that the air once occupied. When this water goes up inside the pipette, its mass is then added to the diver\'s mass, increasing the relative density of the diver. Due to this increase in relative density, the diver is no longer less dense than water and sinks to the bottom of the bottle. When you release the pressure, the water is forced back out of the pipette by the air, decreasing the relative density of the diver and allowing it to float once again.