Stability of an ionic compound depends on its lattice energy. More the lattice energy of a
compound, more stable it will be. Lattice energy is directly proportional to the charge carried by an ion. When a metal combines with oxygen, the lattice energy of the oxide involving O2− ion is much more than the oxide involving O− ion. Hence, the oxide having O2− ions are more stable than oxides
having O−. Hence, we can say that formation of O2− is energetically more favourable than formation of O−.