Or they used their cushy job, high salary, and low expected work output as a nice way to fund and work their side projects. If you leave work energized from not doing much, you have plenty of energy to burn off building something.
I know plenty of ambitious and talented developers who work at menial jobs to cash a paycheck and pay for their side projects.