Excitation-energy dependence of Coulomb barriers