Heating a sealed glass jar filled with water can lead to dangerous pressure buildup, potentially causing the jar to break. During canning, jars are heated in boiling water, allowing some pressure to escape due to loosely fitted lids, preventing explosions. The boiling point of water increases with pressure, but in a typical canning scenario, the pressure remains manageable. When heat is removed, water vapor condenses, creating a vacuum seal that prevents bacterial decay. Proper canning techniques ensure that jars are heated safely without exceeding boiling temperatures.