This makes perfect sense. Housing shortages lead to rents going up. Existing tenants can’t pay. Evict them to get higher-paying tenants.
A landlord can refuse to renew a lease, but evictions are for failure to pay or breaches of the lease. Housing shortages do not cause evictions.