Varför har krokodiler spikar?

Varför har krokodiler spikar?

Deras spikar skulle vara för skydd, så ett djur kunde endast attack är det mjuka buk.