I went from 2XXk to xxK when I moved from managing a recruiting office to software development then to 1xxK within a year of software development.
I didnt follow this exact path but while "have a skill set people will pay for and know how to negotiate" is a drastic over simplification it is possible and realistic.
Recruiting is sales and sales is hell unless you love it. I did not love it. A lot of Engineers would be able to make a lot of money in recruiting, or other sales roles, because it is not that hard. Its just draining and a never ending treadmill of metrics. Say what you will about SWE but the expectations to always be beating you previous metrics in sales is unsustainable and why so many companies develop shady sales practices. I wasnt willing to do that stuff and knew I could switch careers.