@investormahesh Understanding it from a broader perspective, companies or promoters having OFS, would like to get the highest price possible to benefit from the bull market sentiments so as to get the best cash out. Some promoters can be investor friendly to price in to leave something on table. Obviously the prospective investors to IPO would compare the company with peers, so that reflects into pricing, since information and analysis isn't scarce anymore nowadays.
Further, the merchant bankers have their remuneration tied to sailing the IPO, and for subscription and possible oversubscription but that can be contra productive too if it gets too overpriced which can lead to the merchant banker to come in to take a stake. The risk to reward for companies is looked at as well to appropriately price it in.
As all of this involves anticipation, the reason why GMP and listing is more for some and less for some, along with the usual collusion which happens to create hype for the IPO.
Hope it helps !!