Answer:
Both are different.
Explanation:
Both rocks are different from one another because both formed from different types of rocks. Rock A was formed from small pieces of rock while on the other hand, Rock B was formed from liquid rock so they both have different sources of rocks from which they were formed. Forming at the same time does not show that they are similar to each other, it is their source which decides that they are similar or different.