I dispute that there is just enough of anything on earth.
The amount of everything on earth was just as much as provided by the raw materials from which earth was formed, and by all the complex processes that converted those raw materials, through successive stages of planetary evolution, to the various amounts present in the various geologic periods of change.
In the Archaen eon, ending 2.5 billion years ago there was "just enough" oxygen in the atmosphere to usher in a huge change, after almost one billion years of building the oxygen atmosphere by cyanobacteria that formed mats covering the earth.
Where did that oxygen come from? Photosynthesis. The organisms reduced the CO2 content of the primordial atmosphere, which also was high in methane and ammonia. Any system capable of altering the atmosphere on this scale, over approx. 1 billion years, would invariably be capable of altering the water content of the oceans.
So I disagree that there was just enough of anything. Concentrations are the result of reactions and equilibrium. Stuff happens. The earth changes, and drastically. Some of those changes have included mass extinctions, for which "enough water" could not save the dying species.
It's random, it's stochastic, it's process-driven, it's everything except created by design. You can't get there, you can never get there from here, here in the real world of facts and evidence.