As I mentioned in my own comment, the root cause of burnout - be it coding or otherwise, is when expectations don't match reality.
For most people, especially the young, they attach their expectations to the job and work they do. There are also a certain number of people who have other expectations though - like how they can contribute to charity or the well-being of their own family from the money they make, from a job they don't necessarily like or even care about. One example is the popular Bain/McKinsey partner who is happy to sell absolute vaporware that will never be delivered ever, because they don't care whether their customers are happy - their own expectations are how bigger of a yatch or mansion they can upgrade to next year.
It all boils down to what the expectations are and whether they match reality.