Likewise, the flood plains of Texas are cheap and nice to live in when there are no floods and when floods are imminent you have sufficient warning that you can evacuate and the federal government will compensate you. You can then go back and live there. This one is harder because it is unpleasant to move and you don’t receive the inflated price but it does incentivize some on the border.
Of course the fires in Malibu are a story of going too far in the wrong time. If they’d had a sympathetic administration in the federal government likely some kind of compensation scheme could have been worked out. So you have to work on the politics and the economics.