In books it is commonly written that whenever a chemical bond is formed the energy of the molecules/atoms gets lowered and hence energy is released. This is generally explained by diagrams like this
But I'm really unable to understand this process, I accept that before bonding the potential energy of the molecules were more and after bonding the potential is less and hence this difference of energy must be released but how does this lowering of potential energy happens? Let's just take an example of electrostatic situation (and as far as I know its the electric potential energy only that get's lowered and hence some energy gets released), say I have an electron at the origin and a proton at $x=x_1$ and then somehow it is moved to $x=x_2$ like this
We know from equation of electrostatics that potential energy of proton at $x=x_1$ is $$ U_1 = \frac{1}{4\pi \epsilon_0}~\frac{-e^2}{x_1} \\
\\
\textrm{and at} ~x=x_2 \\
U_2 = \frac{1}{4\pi \epsilon_0}~\frac{-e^2}{x_2}$$
Since, $x_1$ is greater than $x_2$ (from figure) therefore $U_1 \gt U_2$. So, we energy at $x_2$ is less therefore there must be some release of energy, but how? If we let the field to do the work then no energy will be released because our proton gonna get the kinetic energy, if we do the work to move it from $x_1$ to $x_2$ then according the to the laws of physics I will do the negative work and hence energy will transfer from the proton to me. So, how does energy ever get released?
How in chemistry the energy gets released by the formation of bonds? I know that we can say without intricacies that potential energy gets lowered and hence the difference of energy is the energy that we get, but how does this happens? If we have some cation and then we put some anion in the reaction mixture then, of course, cations will get attracted towards the anion and hence will gain kinetic energy and according to me that's the only possible way to lower the potential energy. Is that kinetic energy that we measure as heat and say that the reaction is exothermic?
Any help or clarification will be much appreciated.