If bonds are broken, the energy is released, and if bonds are formed, energy is absorbed. During conversions from chemical energy to thermal energy, the energy stored in the chemical bonds are released and this energy causes surrounding molecules to move faster thus increasing the thermal energy of a substance.