When forcibly squeezed, the inverted vial containing the air column is subjected to increased pressure and reduced volume, and the buoyancy is reduced. When buoyancy is less than gravity, it will sink. On the contrary, when you release your hand, the pressure of the inverted bottle with air column will decrease, the volume will increase and the buoyancy will increase. When buoyancy is greater than gravity, it will float.