when bonds are broken is energy released
Energy is absorbed to break bonds. Bond-breaking is an endothermic process. Energy is released when new bonds form. Bond-making is an exothermic process. Whether a reaction is endothermic or exothermic depends on the difference between the energy needed to break bonds and the energy released when new bonds form. If more heat energy is released when making the bonds than was taken in when they broke, the reaction is exothermic.