I now see the purpose of the nubs on their heads.
They’re called Ossicones and are evolutionary remnants of antlers. They play a part when a giraffe attacks. I know when they killed that photographer last year, the giraffes used them to batter him to death.
I understand they are really vicious when on the attack.