Here's a problem to solve: How are sedimentary rocks made?

Among the 4 following options, which is the correct answer?

- A: Magma or lava is cooled.
 
- B: Materials are pressed together.
 
- C: Chemical reactions change minerals.
 
- D: Earthquakes cause small pieces to fall.
 