On the origin of nitrous oxide and its oxygen door