Tone feels a bit harsh but I'll try to take it in the best light possible.
It's not that I never liked coding to begin with. I enjoy it, but at the same time I also enjoy solving problems. Coding is and was a means to an end: solving a problem. The argument/statement can also be extended to say "Why did you go into coding if you didn't enjoy binary?" (substitute "binary" with any appropriate level of complexity: OOP, C, Java, Python, Waterfall, Agile, etc).
Not only that but so much of my work is and always was not coding. Meetings, stakeholders, PMs, roadmaps, estimates, etc.
My volunteer work is also solving problems, they just happen to be very human-focused in the real world.
Also, "coding" (solving problems with tech) is a fairly low-risk way to make a living that I happened to be good at. I also spent time on a drilling rig. Could have probably made significantly more doing that than I was at the start of my tech career, however, it wasn't worth the risk. We all gotta eat and in our capitalist society, can't reasonably do that without having a job.