Hello Student
Electronic configuration of O is 1s2, 2s2, 2p4
First electron is to be removed from 2p4 orbital. Th e2nd electron is to be removed from extra stable half filled 2p3 orbital it would require extra energy. Hence 2nd ionization energy is more positive than first one