Question: why oxygen ionization energy nitrogen?
Answer: Nitrogen has a lower ionization energy than oxygen because nitrogen is half filled which according the Hund's rule, half filled and full filled orbitals are more stable.