Which two things need to be perfect in order for petroleum to from

Soil and metal ore

Pressure and temperature

Rocks and metal

Wind and water

Pressure and temperature.