Suppose $\ce{Na^+}$ and $\ce{Cl^-}$ form an ionic bond. In doing so they will come closer by attraction. Now as they come closer their speed will increase and hence the kinetic energy increases. So basically the electrostatic potential energy will be controverted into kinetic energy.
- My question is why do these processes that involve attraction cause a release of energy from the system? And after this release why is the system said to be more stable?
My understanding is there might be two concepts involved.
First, as the ions approach each other their speed increase, but as soon as they touch each other they collide and reflect back. So the ions keep on oscillating. These oscillations are what we know as heat and the temperature of $\ce{NaCl}$ will be higher than its surroundings so it will release its energy in the form of heat.
Second, it might be because any accelerating charge releases electromagnetic waves, and so as long as the ions oscillate they'll keep releasing energy in the form of EM waves which may be trapped by other ions or may escape.
After the energy will be released from the system(NaCl ion here) our system must become more stable. Stable in the sense that NaCl crystal will not convert back into ionic form separated from other ions because for coming back to that state the system must be provided the lost energy back by some external agency. This is the way how I understand the term stabilty; I don't what does this term mean in chemistry. I also don't know why " every system in nature wants to be more stable" -- This is the phrasing that I heard in school days from chemistry teacher. This fact must be related to some thermodynamic fact of kind that every system wants to release energy, but why?