While diamonds are resistant to heat, extreme temperatures or rapid temperature changes can cause internal stress and damage the gemstone.