No one knows. That’s why there are a number of different hypotheses that try to explain the phenomenon. One of the interesting problems is that on a sub atomic level gravity is very weak almost negligible, the forces that hold atoms and molecules together are exponentially greater. However on a macroscopic level gravity is very strong, and we have yet to come up with an explanation that covers both extremes.