Simply put, I think it's so because a single photon can excite only a single electron by transferring its energy to it. So by conservation of energy we can say that the energy lost by the photon is gained by the electron. This energy is used to overcome the electrostatic force of attraction...