Which three factors affect the formation of magma? heat, pressure, and dissolved gases heat, mineral crystals, and dissolved gases heat, mineral crystals, and water content heat, pressure, and water content