I don't see the connection between the decrease in infant mortality and the increase in average life expectancy. I think it's mainly due to discoveries in the field of medicine, drugs and technology.
It’s both
People in the 1800s lived to 80 or 90 years if they survived as an infant.