Serious question (I'm not a biologist): How did the nitrogen, etc. get released when the plant material (that became oil) first died and got buried? Is this fundamentally different?
It gets consumed and released by detrivores, i.e. fungus. This takes a long time, and wouldn’t work nearly as well these days because the fungus would eat the cellulose as well.