If the addition of water or carbon dioxide takes place deep in the earth where the temperature is already high, the lowering of melting temperature could cause the rock to partially melt to generate magma. One place where water could be introduced is at subduction zones.