Factors governing the nature of submarine volcanism