The correct option is D O→O2−
The amount of energy released when an electron is added to an atom is termed as electron affinity. Here, for all the options apart from option d, the reaction is exothermic. The addition of a second electron to the O− ion requires more energy. The repulsion between the electrons and the ion makes O→O2− endothermic.
O(g)+e−→O−(g); EA1=−142 kJ/mol
O−(g)+e−→O2−(g); EA2=+844 kJ/mol
The value of EA2 shows that the process absorbs more energy and hence, endothermic.