Cost of living and taxes are very real. CA income taxes are > 10%. Some states have 0% income tax. On that basis alone, CA employees should make 10% more than those places without income tax. Then there's cost of living, rent, etc.
You can legitimately earn more while being paid less by moving to a lower cost location.