Primitive atmosphere during the formation of earth has no oxygen molecule and hence was reducing type. As the evolution of phytoplankton in sea and oceans begins, the evolution of photosynthesis along with evolution of oxygen was established. And then the atmosphere changed from reducing to oxidizing due to the availability of oxygen in atmosphere.