They probably figured they need to show path to profitability first. Anthropic (relatively) fared better and went for it.
As SpaceX, it had a multi variable narrative with space stuff. If it doesn't turn well for them, it isn't even clear OpenAI will get a chance to IPO with any hope. That's my bingo card.
I think anthropic desperately needed the cash. That's why they didn't delay it in the current market situation.