The correct option is B chemical energy
The Energy that gets released when the bonds are formed was stored in the electromagnetic fields inside of the atom. When the bond is formed, the electrons and protons assume a configuration that has an, overall, less intense combination of electric and magnetic fields inside of the bonded atoms than when they were separate.