son
our dna has evolved to make us develop to be more intelligent in order to survive the environmental pressures of africa (and later the rest of earth)
we needed to be smarter to evade predators and catch prey
so we learned over generations to work in groups
it was a gradual process over millions of years and generations