A lot of people do because after 20 years it kind of blends all together. You're building the same thing you did 20 years ago and nothing has improved. The tools are still buggy, the managers still have no clue, and the hours are still insane.
I'm crazy, so I'm not really sure why others do it.
Exactly why I stopped programming in my 30s. Figured I would try to solve management problems as that could do more good for programmers than any code I wrote. Turned out to be harder than I thought.
I never wanted to manage as that involved people and it is much harder to code around those problems.