Well my two cents,
The why probably not ours to assess, but it occurs that assesoires like that are part of a survival mechanism. Interesting is that these ornaments are often related with
sexual difmorphism
Interesting are the tusks, while in both modern species of elephants, the genders have well develloped tusks, there was a big sexual dimorphism in the recently extinct woolly mammoth (
Mammuthus primigenius):
the male
Yukagir mammoth
Can't find a good example of a female tusk now, which are practically rudimentary, but I'll get that soon from the guy in the center of that picture. It should also be noted that the tusk of both genders of the the ancestral mammoths to the woolly mammoth, the steppe mammoth (
Mammuthus trogontherii) and before that, the southerly mammoth (
Mammuthus meridionalis) were much more like elephant tusks.
It appears that elephants and older mammoth species are associated with habitats with trees, while the woolly mammoth was completely specialized on treeless steppes. Hence it could be speculated that the rather straight tusks of elephants are suitable of bringing down trees, especially those of the extinct straight tusked or forest Elephant (
Elephas (Palaeoloxodon) antiquus). But the Woolly Mammoth had no more use for that. So maybe that's why female tusks degenerated while males develloped big ornaments for a better competition with other bulls. And that could be the key, they are mostly male ornaments, intended to win the competition fights before courtship in the struggle for survival of the fittest.
Other species genera and families have different solutions, if required, for that kind of activities.