Two-phase damage models of magma-fracturing