when water is combined with magnesium nitride to produce magnesium hydroxide and ammonia gas,

See your other post above.