Seawater seeps down into the mantle and heats up. As the seawater hits the minerals, the olivine and pyroxene within the periodite turn into serpentine minerals and produce hydrocarbons.