what is the relationship between the amount of gases in magma and the explosiveness of a volcanic eruption