Chris Patil in Ouroboros:
How did aging evolve? Some evolutionary theories invoke tradeoffs between maintenance/repair and reproduction. Others postulate that genes that cause age-related decline can be positively selected, so long as these same genes confer a fitness advantage early in life.
A common feature of these theories is that they operate at the level of the individual organism, rather than the species. Models based on group selection usually have logical problems. For example, suppose that aging evolved in order to eliminate post-reproductive old organisms to preserve resources for the reproductively competent young. This is circular: Why are the old organisms were post-reproductive in the first place? i.e., the model presupposes some age-related decline in organ system function in order to rationalize the evolution of aging.
More here.