I'd suggest that regulation is typically the issue, and it is in the case too. Investing in real estate is not for everyone, and not just based on the merit of one as a landlord. Some states are complete nonstarters unless you can pay for influence.
The only legitimate role of the state is to defend the inalienable rights of the individual. They should not be interfering in contracts. This type of meddling overreach is usually the issue, but is always an issue. There are many consequences, both intended, and unintended, and recognized, and unrecognized.