The formation of two different rocks is described below. On the surface of Earth, fragments of rocks, bones, and minerals are cemented together to form Rock A. At depths of thousands of feet, molten rock material cools slowly to form Rock B. Which statement is correct? Both Rock A and Rock B are igneous rocks. Both Rock A and Rock B are sedimentary rocks. Rock A is an igneous rock and Rock B is a sedimentary rock. Rock A is a sedimentary rock and Rock B is an igneous rock.