Why Investers Sell Stocks immediately after the ipo listed

I have 2 questions related to ipo

  1. Why Investers Sell Stocks immediately after the ipo is listed.

  2. Most of the invester know that In Paytm company is not making profits. Again why they applied for ipo. Is smart money also applied for ipo and then now they also making losses?