The correct response is:
d different types because they formed in different ways.
Rock A formed from small pieces of rock, which typically makes it a sedimentary rock, while Rock B formed from liquid rock (magma or lava), which makes it an igneous rock. Therefore, they are different types based on their formation processes.