Why shouldn't it be? The market uses prices to signal things you should and shouldn't do. This particular price signal is saying, "move away!" If you don't have another, stronger signal that overrides it, it is not an efficient use of resources, and society suffers a dead-weight loss.
Why should all the software engineers all have to cram into Silicon Valley, pay California income taxes, and bid up the prices on a housing supply which remains wholly inadequate for the region? If tech stopped paying the California premium, the companies would see higher profit, their customers would see lower prices, their engineers more disposable income.
I would love for programming jobs to be available in every major city in the nation. Sure, the Mission is pretty cool, but there's hundreds of other cities in the US that have some pretty cool stuff too.
Let say I shop for a gadget. I pay for that gadget not because the value it deliver but the least amount required to get the value it deliver.
And human beings are not being treated as disposable gadgets. Their labour is behaving like any other good in the market. There are some specifics but for the most part it is true.
There's no should to this. It's merely observational truth.
In a business relationship both parties need to find a price point that is mutually satisfying. If there is no agreement that doesn't mean that either party is treating the other like "disposable gadgets".
And the system is not static, value from both parties perspective changes over time, which means the mutually satisfactory price point can also change or even evaporate.
As an owner, your work is valued by the income it brings to the business. As an employee, your work is valued by the amount it cost to replace you with another qualified worker.
If you do work as an employee, the only thing that matters is the market value of your labor, regardless of the result. It doesn't matter how much business value you add.
You are in for some surprises then. Companies don't pay you just in relation to the value you deliver. Most companies pay the least amount required to get the value you deliver. Now if you are competing against engineers who are willing to accept lower salary due to low CoL in another area, the company would offer less.
Offcourse, that is not how things should be.