Under 31, retire by 56 is specifically due to the pension requirements. It's to make sure anyone who is hired is eligible for it when they have to retire. It requires 25 years of service.
I haven't seen anything specifically denoting why you have to retire by age 56 but it's implied that it's just because younger people tend to have faster reaction times and are better at multitasking, etc.