The correct response is:
d different types because they formed in different ways.
Rock A formed from small pieces of rock (sedimentary), while Rock B formed from liquid rock (magma or lava, indicating an igneous origin). Despite both forming around the same time, their different formation processes indicate they are different types of rock.