Right because in a "free market" tenants have no rights. Moving costs a minimum of 1 day of work, which is not available to many working people. As such, without laws to prevent it, landlords could arbitrarily raise rents whenever they felt like it.
Their rights are what is mutually agreed upon in the rental agreement.
> without laws to prevent it, landlords could arbitrarily raise rents whenever they felt like it.
Many rental contracts have clauses specifying when and how much the rent can change.
Landlords can demand whatever they want, but a tenant would have to agree to it. Tenants can also demand whatever they want, but the landlord would have to agree. That's supply & demand at work.