The main reason towns grew during the High Middle Ages is:
People needed a place to sell and buy goods.
This growth was largely driven by increased trade, economic development, and a shift from a predominantly agrarian economy to one that included more commerce and manufacturing.