I saw this exact same thing when studying CS in the early 2000s. A bunch of people said they only wanted to write code for a couple of years then get an MBA and become managers. Sounded crazy to me!
I remember in a third year OS class overhearing a huddle where the consensus was that computer science was a great major, but programming sucked.
I was too traumatized to really process that for years ... lol.
It is very helpful to my recovery to hear of other somewhat similar(?) experiences!
Anecdotally, but a new grad was telling me a number of his peers in college had the explicit goal of not coding two years out of a CS degree. Most of them were eying PM positions or "Tech Evangelist" roles.