it's Apple and they don't like to adjust prices to the market
other companies would have just hiked the price of the 512GB model to reflect the lack of supply and to allow people who really need that model to pay for it dearly
but that comes with some PR damage that Apple would rather not deal with
But they did raise the price of the 256GB model.