Incentivized by low interest rates, terrible housing supply inelasticity, and a confidence that population (and therefore demand) will grow, owing to immigration policy. All of those can be adjusted. Mostly investors buy houses to sell at a higher price, not rent out indefinitely. If the property taxes and mortgage rates hurt their bottom line and if demand does not surge as high, they would sell and would stop buying.