Interior heating drives the formation of clouds on exoplanet gas giants