Because more people moved to the cities, and people got richer, landlords could ask for more taxes.
They used these taxes for organising events, defence etc.
In exchange for taxes the inhabitants of the cities wanted city rights. Find out what city rights are.