You also had someone providing for you and covering all of your costs. Once you leave the carefree comforts of childhood and join the rat race the rules change.
Ones motivation need not change. “Do what you love and the money will follow” is not universally true, but it is pretty damn true for learning and making software.