More specifically, how and why is there energy stored in the strong attractive bonds that hold multiple atoms together? I am struggling to understand this as my understanding is that energy is released when the atoms bond, so why is there potential energy stored in the bonds?
But also, I feel like this is crucial in understanding this, is 'potential energy' only the ability to release energy due to its position etc, or is it also the ability to gain energy? If the latter is correct, then does that mean atoms have the potential to gain energy when energy is applied to the atom to break the bond?