this usually happens when one egde of the mat gets lifted, when you pull a rock away or something like that then they just grow back down the other side of their own matt and asthey keep multiplying and growing out they tend to form a ball shape. ther are other ways too, some times they grow on very pointy rocks/ coral skeletons again you end up with a ball shape. happens alot over gaps too when they can get light from all sides.