I'll be 51 years old in June and there are people in my company near my age that still act like children. Pouting, gossiping, treating others like crap. Cheating, lying, gathering in cliques and avoiding others.
Others, many of them younger than me, are responsible, mature adults.
I don't think it's age related. I don't think you necessarily get it from your folks, although that helps.
Maturity grows inside and you have to recognize it, nourish it, and accept the role.
I think that accepting the role of maturity is hard for some people because it means a change in their lifestyle and the acceptance of responsibility for their actions.
(Boy! I sure miss spell check when I post).