The pressure that the water exerts on the walls of the glass bottle is greater than the pressure required to break the glass.