Because a fluorine atom has fewer electrons, the valence electrons (furthest from the nucleus) are closer to the nucleus than in iodine atoms.
Being closer to the positive nucleus, the electrons in fluorine are much more strongly bonded to it than for iodine, so it needs more energy to ionise.