I don't know. I've taught computer science in high school in the late 2000s and there still were students who dabbled in code even though they had access to the most wonderful GUIs and games. When I was young and the first computer entered our house it didn't have a nice GUI. It was dos and basic all the way down. From my siblings I am the only one who did develop any kind of interest in coding. The others were given the same opportunities as I (maybe even more so) but it didn't take.
There is a curiosity about how to get computers to do what you want that is independent of graphical capabilities and attractive games, social networks, and what not. And that curiosity somehow isn't given to all. Similarly not all are into woodworking, gardening, knitting, and so on.
(By the way, your impoverished-point seem to work for knitting/sewing as well. Why bother if you can get all the clothes and accessories from the shop downtown or the internet for almost nothing? Still there are people enthusiastic about knitting/sewing.)