To repurpose a handy metaphor, let's call two of the first Homo sapiens Adam and Eve. By the time they welcomed their firstborn, that rascal Cain, into the world, 2 million centuries of evolution had established how his infancy would play out. For the first few years of his life, he would take his nourishment from Eve's breast. Once he reached about 4 or 5 years old, his body would begin to slow its production of lactase, the enzyme that allows mammals to digest the lactose in milk. Thereafter, nursing or drinking another animal's milk would have given the little hell-raiser stomach cramps and potentially life-threatening diarrhea; in the absence of lactase, lactose simply rots in the guts. With Cain weaned, Abel could claim more of his mother's attention and all of her milk. This kept a lid on sibling rivalry—though it didn't quell the animus between these particular sibs—while allowing women to bear more young. The pattern was the same for all mammals: At the end of infancy, we became lactose-intolerant for life.
Read more at Slate.