I'm fairly confident that there's more to it than just studying something for a long time. Some people simply never grasp a concept despite years of study.
The most appealing explanation of talent I found in buddhism, that all talent is just many hours of pursued interest, millions of hours sometimes, so when someone is born unusually smart, it's because of prior efforts.
A key factor is confidence, anecdotally speaking. The difference is leader vs follower. The same psychological principles apply. Tech isn’t special.