The glass pan structure is distorted when it experiences a sudden thermal shock. This distortion causes the glass to shatter. This same experience happens when cold glass is put into hot water suddenly.