Fact 1: friction causes an object to lose energy. 
Fact 2: Dear Ashlee, The heat in the reentry phase is due to friction between the spacecraft and the air.
Spacecraft that are reentering the atmosphere lose energy.