The products of a chemical reaction influence several aspects of the reaction.
If the products are higher in chemical energy than the reactants then the reaction will require energy to be performed and is therefore an endergonic reaction.