That 25 year old will expend many neurons and lots of that fresh cognitive capability on waste due to inexperience. Have you ever met a practicing 70-year old engineer? That perspective and experience has an outsized impact.
The male vs female upper body strength thing is totally different. For one, it's measurable. Second, it's not a job attribute that is offset by expertise -- a firefighter has to be able to carry an average sized person or a roll of hose. 30 years of hose carrying doesn't make it lighter. Usually, fire departments recognize this by allowing fire fighters to retire starting at the 20 year mark.