We have two laws that cannot be violated. The conservation of mass and the conservation of energy.
The only reason why the beaker with the products has less mass than what you could expect is because part of the products are gases that escapes from the beaker.
Regarding the energy, the lower energy of the products is due to the release of heat during the chemical reaction.