Ionization energy increases across the period in the periodic table because