Thermal stress is created when a change in size or volume is constrained due to a change in temperature.