Why Condensation Is Exothermic Or Endothermic