(a) Nitrogen and oxygen are second-period elements. They have only four valence orbitals (2s and three 2p), so they can form at most four bonds (maximum covalency 4). Nitrogen uses three of its five valence electrons in NF3 and oxygen two of its six in OF2; five or six bonds are impossible. Phosphorus and sulphur are in period 3 and have nine valence orbitals (3s, 3p, 3d), so they can expand their valence shell and use all five or six valence electrons, forming PF5 and SF6.
(b) Size. Seven fluorine atoms must be packed around the central atom. Iodine is large (133 pm), so there is room for seven F atoms. Chlorine is much smaller (99 pm; iodine's radius is 133/99=1.34 times as large), so seven fluorine atoms would be crowded too closely around it and would repel one another; the most it can hold is five, as in ClF5.
(c) Bromine (114 pm) is intermediate in size between Cl and I, but much closer to chlorine. It can hold five fluorine atoms but is expected to be too small for seven, so its highest fluoride should be BrF5 (bromine in the +5 state), which is indeed the highest known bromine fluoride.