Hyperossification
Even frogs that did not come from the same ancestor evolved big, spiky skulls if they ate the same other animals: usually animals almost as big as they were, like birds and mice.  Scientists say this is because big, strong skulls let the frogs have big mouths and strong jaws that are good for catching big prey.