OpenAI had already announced that ads were coming to ChatGPT. Also, Claude's free plan is incredibly limited and far less popular, so it's easier for them to keep it ad-free.