How Cave Formations Are Formed