There is oil, water, and foreign material on the thermostat mounting surface. Place the gasket on top of the thermostat, lining it up with bolts and pressing firmly to hold it in place.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.