It seems likely to me that the birds have suffered by these spikes and repurpose them as much for the message they send to avian predators as their structural merits. It is like humans wearing the head of a wolf or other things to communicate they are a threat to would be interlopers.