Because local housing naturally has a limited supply making it a natural monopoly in addition to the fact that, since it's very difficult to live without housing, it is a one-sided market without alternatives.
So, as much as you'd like to pretend it's just a matter of personal freedoms, bypassing housing codes via the guise of a tech company just enables negative externalities that restrict the personal freedoms of others. And the 'others' are the people who actually live there, making them more important than you.