But where did water originate?
But where did water originate?
answers your question.
If you are trying to go back to "why is there anything?", then the answer is "we don't know precisely, but we do know that if those things hadn't happened, we wouldn't be asking the question, so so we have no basis of knowing whether it's random, rare, or a near-certainty for a new universe."
How many comets have hit us that were rife with water supplies to provide the amount of water earth has given that water isn't also abundant on planets that are much larger, like Jupiter?
Why do we see planets with atmospheres of say sulfer, and earth doesn't have an issue with sulfer in the atmosphere?
Most of the comets whose orbit intersects with Earth's orbit collided eons ago.
Some comets still enter the inner Solar System, of course, but it's going to be extremely rare for one to be on the right path to hit the Earth.