system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why does glass break when transferred from hot to cold water, but not something like an egg?
gpt
First, a plaque of glass is very solid and strong, an egg shell is very porous and bendable.

Second, hot objects expands while cold objects contract.

Because an egg shell is bendable and porous, it is able to deal with the internal stresses caused by the temperature difference. And because the glass is solid and strong, the internal stresses caused by the temperature difference can make it shatter.