The effect of thermal shock is powerful and results in the cracking of glass. Even heat-resistant glasses like Pyrex can shatter when poured with boiling water incorrectly. To prevent the glass from cracking when exposed to boiling water, you should avoid extreme and abrupt changes in temperature.