Constantly changing temperature causes materials to expand and contract over and over again leading to failures. It's called thermal cycling. You can Google it yourself if you want to know more.
Constant loads are worse for fans but those are easy and cheap to replace