I've watched a colleague go from a good engineer, to a great engineering manager, to an awful project manager. I see him hating what his career has become and I feel terrible for him.
IMO, whether one of these individuals can be used is the distinction of whether a role is line supervisor or management. Line supervisors need the subject knowledge to teach fresh hires and know how to identify and fix problems caused by slackers. Management would rely on the senior employees for mentorship and keep their ear to the rumor mill to identify suspect underperformers.
I’m the opposite - engineer to manager, didn’t like people management side of it, changed to project management and loving it.
I do miss technical work though.