When natural selection doesn’t explain an expensive trait, chances are sexual selection is at work. Social creatures often have bigger brains, but my guess would be sexual selection, mixed with some other traits that made it feasible to fuel such a hungry organ, are behind our inordinately large heads. :)