I think it is more that the electorate and their agents don't know how (or disagree on how) to keep housing affordable or more precisely don't know how to avoid passing laws and regulations that have the unintended effect of raising the cost of housing.