Answer: B) The gas that was released changed the mass.
Step-by-step explanation: According to the law of conservation of mass, mass can neither be created nor be destroyed. Thus the mass of products has to be equal to the mass of reactants. The number of atoms of each element has to be same on reactant and product side. Thus chemical equations are balanced.
But in the given reaction, one of the products is gas and it escapes. Thus the mass of products is not equal to the mass of reactants and is less than 30 grams ( sum of masses of reactants).