I pretty firmly believe nearly anyone can learn to contribute in any area given enough time, but there's a lot of time between 0 and 18, and it's prime learning time when brain plasticity is high and responsibilities are low.
Is it really that controversial to say childhood shapes a kid's future?
Even today, 25 years later I feel like I learn things more effectively than when I was a kid. Certain types of skills benefit from experience and networked thought. Time per day/week is a much more limiting factor though.
you start to learn maths in kindergarten. you don't start to program computers there, usually. there are very good reasons not to do that (screen time!), but it will make learning to program easier later in life.
Lawyers and doctors basically need to memorise facts, apply rules and make deductions. Developers need to do that + math, hence why starting early helps you out, exactly like kids who did math or chess early on are better than their peers who started later.