What Causes Arrogance?

In some cases, arrogance can be caused by someone being constantly told how wonderful they are until they totally believe they are. However, most of the time arrogance happens when someone is trying to overcompensate for a feeling of self inadequacies.