An atom has shells with different energy levels, the further the shells are from the nucleus, the higher the energy level the electrons are required to obtain for them to be staying at that particular shell. When electrons obtain energy, which in this case in the form of kinetic energy. This energy makes electrons to move a lot, thus overcoming the electrostatic force from the nucleus to a certain extent.