I don't think so, but it must happen on occasions. They are allowed in the luggage after all. I've had problems with certain types of shampoo or conditioner containers - the lid is forced off under pressure - and so I've learnt to wrap it in at least two plastic bags, or take one with a more secure lid, and wrap it up anyway.
I usually take a bottle of water on my flights. Last year during a flight I opened it and it made a loud pop, crack noise when I released the lid, due to the pressurisation.
From Australia. Qantas - Spirit of Australia.