Well, the stock market represents corporate earnings or more precisely, future corporate earnings as I understand it (someone in finance please correct me if mistaken). So corporations can be doing well financially, but the economy can still suck from an average workers standpoint which where we are at with key large companies hitting record earnings driving the market higher but total worker compensation remaining stagnant.
So as far as I understand it being from Canada is this is due to the nature of tenant friendly laws where once they are in the home, in order to evict someone w/e the reason they have the right to challenge the eviction by going through the equivalent of a legal tribunal to evaluate the validity, which if upheld means you are out with legally binding notice. Until the challenge is heard though they stay in the property. Now, in many parts of Canada, due to Covid and government incompetence/lack of funding these tribunals are backlogged with cases, where hearings may take up to a year from the time you make you request to evict whereas before it was a month or two tops. So the "Cash for Keys" in this case is not a new thing, landlords have always been able to incentive tenants to voluntarily leave on their own accord rather than waiting for the case to be hard but the tenants leverage in obtaining anything more than a modest sum (month or two of rent) was low because if it was a valid reason (owner or family moving in, etc), the tribunal would make a swift ruling in a few months. The issue now is tenants are all too aware of the backlogs at the tribunal, they can remain the units for a year or more waiting for a hearing from the time the eviction is issued before being required to move out even if the outcome is preordained. Therefore, the lost opportunity cost to the owner whether it be through lost rental income, or disruption to their living arrangements is significant resulting in the tenant obtaining significant leverage to demand higher compensation if they are too vacate early knowing they can run the clock for up to a year (ofc this has consequences to credit ratings, reputation, blacklists, etc). As for investment risk any responsible landlord should be educated on rules/regulations around how/when tenants can be evicted and factor that into their investment as to the potential downsides/costs to be incurred. The problem here is that nobody factored in the legal system for dealing with evictions to be totally broken which is the root cause of the problem as it has led to shift in the balance of power. Now if you don't bother to understand the regulations and want to play hard and fast with your tenants, you will get burned and that's your own stupidity for investing without reading the prospectus.
Whether we agree or not, Canada has more tenant friendly laws because tenants are considered at a disadvantage relative to landlords when it comes to things like evictions (landlords have more resources and power). And for every example of abusive tenants there are plenty of scummy landlords, and thats why these laws exist for the worst-case extremes, as well as the majority non-fuss scenarios. Much of Canada is in the middle of a housing crisis at the moment, rents are high and new places are hard to find if evicted (especially anything remotely "affordable") so tenants are going to use every legal point of leverage they can if they are faced with eviction for reasons other than not paying rent. If landlords should be mad at anyone for screwing up their investments, they should be angry at the government for failing to provide sufficient resources to allow the legal system to move in a swift manner.