I believe it is a surface tension phenomenon. Spheres have the lowest
surface tension and therefore, when  two spheres come in contact the
interfacial tension between them causes them to merge resulting in a larger
sphere with a lower surface tension.