Most air passengers throw away their bottled water or are forced to pay for another bottle at the airport, however there’s a trick to getting it past airport security. Frozen liquids are allowed through security as long as they are solid when being screen. If they are partially melted or slushy, then they won’t be allowed through.
Frozen perishables and properly packed dry ice also pass through TSA.