Where there is a overlapping, there is a releasing of energy
Overlapping between atoms, nuclear particles or still smaller particles such as quarks or again small particles cause the releasing of energy and detaching between them absorb energy.