Answer is: both reactions
are exothermic.
In exothermic reactions, heat is released and enthalpy of reaction is less than
zero (as it show second chemical reaction).
According to Le Chatelier's principle when the reaction
is exothermic heat is included as a product (as it show first
chemical reaction).