Years of dripping water erodes and brings various elements with it through cracks. When it reaches a crevice, it drops down. Over thousands of years, enough material is left behind in both where it fell from, as well as where it lands. It gives the visual impression of melted rock.
Time and gravity will always be the greatest artist.