The formation of water, NH3, CH4, minerals and salts was the key event in the origin of life. CH4 being reactive, fused with other compounds to form simple organic compounds, such as ethane, propane, glycerols, fats, sugars, etc.
The dissolved ammonia forms the j nitrogenous organics like amino acids, purines, pyramidine and nucleic acid. Hence, the chemical compounds are formed in the oceanic water, required for the origin of life.