How do endothermic processes affect forming a cation from an atom in the gas phase?