A new national park has two caves that visitors can see. One cave is made of a different type of rock than the other one. Park rangers want to explain the difference to visitors. How could energy have played a role in the different rock types forming?