I have no idea what the situation is in Switzerland, but in Holland we had a pro-business, center right government for many years before their neglect of the common people caused so much rot that the far right has taken power and begun trying to smash up everything.
Anyway, their neo-liberal approach was that there must be a market solution to every problem. So, not enough affordable rental properties must mean that landlords don’t want to rent their properties because renters have too good of a deal. So the only possible solution must be to deregulate the rental market as much as possible, including getting rid of renter protections.
Again, I have no idea about the motivations or history in Switzerland, just sharing a perspective from a lower altitude.
Let me try again.
People cannot find places to live.
The government decides that is because landlords cannot make enough profit.
So the government tries to remove protections for renters, to benefit renters.