And since mass is matter, and matter are molecules, that means no molecules go into the system and no molecules lead the system. So the number of moles remains constant. Secondly, reactions are under constant temperature and pressure. If this wasn't true, the equation would break down. It would not work. So according to the ideal gas law, when number of moles is held constant, temperature is held constant, and pressure is held constant, then volume must remain constant.