exactly, neither of these games copied eachother
sure they both have blocks and building, but minecraft is almost ALL about building. the juourney to defeat an ender dragon and the wither.the game gives you TWO bosses. TWO bosses in minecraft.
terraria is more of a journey where the game is mostly about the fighting. no hunger bar, no thirst, all about fighting, with some building.
some gamers will build pixel art or cool builds, sure. but to do that they usually have to beat most of the bosses if they want to build more advanced structures.