It's one of those things that just become second nature the more you do them. Much like riding a bike, or playing an instrument or making a painting.
Whenever I'm programming something, the actual text takes up little of my mindspace. I just go in with intentions and all the text comes to me as I go.
Studying code to me is like reading a news article or paper at this point. There is a reason why they're called programming languages.
If someone's job is to wrangle with JS or Python frontends every day or getting their hands dirty in some massive bowl of seemingly pointless corporate spaghetti, then I can see why they'd think that programming is just a chore, though.