For life you need a solvent and an energy method. Water is an amazing oxidant, and oxygen an extremely powerful oxidant. Also, oxygen it’s the third most abundant element in the universe (because of how star fusion works). So it stands to reason that it is the most likely combination for life to be initiated.