Justices live decades longer now than the Founders expected, so mandatory retirement stops the Court from turning into an unelected gerontocracy.
Age limits just make presidents pick 40-year-olds to game the system. Fixed 18-year terms actually solve the problem by guaranteeing predictable, balanced turnover.