They weren’t all big, but anyway, they (probably) evolved like giraffes to reach for food and as protection against physical damage from predators. The climate was also different and they had plenty of food.
Anyway, evolution does not select. It’s not survival of the coolest features… it’s only reproduction of those that manage to reproduce.