combination of heat, pressure, reservour rock type, water, source rock If the conditions and volumes are right it could be both.