Across a period from left to right, the effective nuclear charge increases, and atomic size generally decreases. This increased attraction between the nucleus and valence electrons makes it more difficult to remove an electron, leading to an increase in ionization energy. Therefore, atoms lose their electrons less easily.