I think the phemomenon of supercooling is to blame for what you see when you remove and ice tray or a chilled bottle that freezes when removed from the freezer. the liquid is supercooled and jarring it while moving causes it to freeze instantly. With a bottle freezing up when you take the lid off you have a pressure effect. As you release the pressure the freezing point changes and the pressure release acts similar to supercooling. Also, the bubbles that formed when the bottle was opened provide points for crystallization to form. It's all simple physics.