The underwriters take almost no risk, and have a much higher upside compared to the risk they do take. You should never view the participation of a bank in underwriting an IPO as any kind of endorsement of the long (or even mid) term prospects for the business.