Answer:
White dwarfs have an extremely small surface area to radiate this heat from, so they cool gradually, remaining hot for a long time.
Step-by-step explanation:
As a white dwarf cools, its surface temperature decreases, the radiation which it emits reddens, and its luminosity decreases.