Thanks to the popular TV show about dogs we all know about the Alpha male in various animal species. This is a term that has found it's way into archeology. One of the difference between Neaderthal and Modern man is the way they bury their dead. Around 30 to 40,000 years ago you begin to see graves with a lot of effort put into them. You have flowers, tools, jewlery. Also there is a hierarchical difference that began at this time. Clear evidence of leaders that are richer with more stuff. This really becomes evident later on in Egypt where burial really takes on a whole new level. I remember when I first read about this in High School. I was amazed at how fast everything changed. They went from simple graves to pyrmids very rapidly in a very short period of time.
'Rapid' is subjective. The Egyptians likely had these burial rituals, or similar ones, for a long time - leave a body in the dessicating desert and it persists for a long time. It's only when the Lower and Upper Kingdoms were unified that the Egyptians had the resources to build grand edifices to house their honoured dead.
It's like how the Islamic world flourish at its inception, as all the resources of the region that were put into fighting small, tribal wars were suddenly free for other projects, like science and medicine. Likewise, when the Egyptians became a unified people, their military resources - wealth, manpower, etc - were freed up for the construction of the Pyramids.
And even then, the pyramids are relatively scant (only 100-200, if memory serves), and are only the biggest and grandest of the Egyptian structures. Pre-dating the pyramids are more conventional 'tombs' made of dried mud, called mastabas, which are much more common.
So, in short, the Egyptians developed their great tombs from pre-dynasty to the very end, a period of 3500 years, and perhaps far longer if you consider the influence of non-Egyptian tomb-building (such as Sudan and Mesopotamia). 'Rapid', it was not

.
Of course you have Maslow's hierarchy of needs. This leads some people to wonder if a hierarchy is really just a convenient way to organize information. I looked in some of the text books and could not find anything in the biology book about a hierarchy. So I wonder just what part of evolutionary science is this and just when or how did hierarchical difference evolve. Is there mainly just a hierarchy between individual organisms in a population. Or are their other evolutionary application also. There has to be a hierarchy between populations. For example they talk about the Lion being king of them all.
So, are you asking, why are their hierarchies in human populations?
It probably stems ultimately from the concept you originally mentioned: the alpha male. The oldest, strongest, and wisest male leads the tribe by sheer virtue of his longevity. This, in turn, stems from a more general concept in social species: 'listening to one's elders'. Your elders are those who've survived in the world, and thus necessarily know
how to survive in the world. By listening to their advice, watching their actions, etc, you too learn to survive. Thus, in the most basic hierarchical society, one's elders are automatically placed at the top.
From this most basic structure, more developed systems can evolve as the need arises - being an elder might not be enough, you might also have to be strong enough to assert mating rites. In more advanced cultures, as found in
H. sapiens,
H. neanderthalensis, and other
Homos, burgeoning artistic expression naturally lends itself to capture these more ancient leaders.
So, in short, the evolution of social hierarchies is rooted in biological necessity - one's elders become one's elders by surviving the world, knowing what food to eat, what prey to avoid, etc - and developed fro there.