Which of the following best explains how layers of sediment can become rock over many years?