Order of electron gain enthalpy is as follows O<S<F<Cl. Because of the compact nature of oxygen and fluorine atoms, they have less negative electron gain enthalpy than S and Cl respectively . Due to the small size of oxygen and fluorine atoms, there are strong interelectronic repulsions in the relatively small 2p-orbitals of oxygen and fluorine and thus incoming electron does not experience much attraction.