Step-by-step explanation:
Understanding that stars are naturally quite hot, imagine I pulled a piece of hot iron from a furnace. It would glow a bright red, and then slowly fade to black as the iron cools.
White dwarfs glow for the same reason - they are HOT!