This is pretty normal for most countries' visa processes. You often have to leave to renew a visa.
I think the biggest question the US needs to ask itself is do we want to be normal like most countries or better?
Sorry but this is just patently untrue. Are you American? Because in my experience, most Americans just don't realize how arbitrary and capricious the US immigration system is.
Pick any other developed country and the process is generally fairly simple. With some you can just apply for a temporary work visa (possibly without a job) or just apply to immigrate. If you stay in many places long enough on a temporary visa you pretty much get residency and ultimately citizenship.
Beyond what's possible, the time frames for doing anything with US immigration is ridiculously long. Like if you, as a US citizen marry someone overseas it can take upwards of 4 years to get a green card for your spouse and they won't be able to visit the US at all in that time. Why? Because filing a marriage petition means you've shown "immigrant intent" so you'll never get a visit visa (B1/B2) again. Also, the president may well just ban your country from getting any visa. 75 countries are currently on that list.
It's also incredibly easy to make a mistake at some point in the process and that may end up getting an approvable case denied or, worse, you end up with an improvidently granted benefit that cannot be repaired, even if it was an honest mistake.
A green card is NOT a visa my friend. Getting a green card is a very involved process.
So why would you need to leave the country, if you couldn't figure out why you don't want to issue one in the year+ it takes to jump through the hoops
Just a fun fact, getting a green card means signing up for ten YEARS of tax liabilities in the US. And those 10 years start, AFTER you relinquished it...