God created it 6000 years ago.Where did the oxygen come from?
Or, from the great oxygenation period, about 2 billion years after the earth formed, producing oxygen at a level about 10% of today’s oxygen levels. It was until about 450,000,000 years ago that plants sprouted and started producing oxygen to levels necessary to allow mammals to evolve.