Either NYT or WSJ (I forget) had some analysis for this after some of the fires. One of the cited reasons was that municipalities are fine building into sensitive areas, because it increases their tax base while the state shoulders the cost of fire prevention/fighting/etc.