I remember being advised to do this ~20 years ago when I was going to be answering questions from a group of people. I was told that it's good practice to say something like "that's a great question" every time someone asks anything, as a form of social lubrication, to encourage others to ask questions. I can't say whether it works, and it was advice for a spoken context rather than written, but I don't know how to finish this sentence.
When I go to research lectures, I sometimes hear that in response to audience questions, although not especially consistently. Some speakers do this more than others, I don't think anyone does it all the time.
The next question (which is a great one, from what I understand) is: Why do LLMs use these phrases so much if humans rarely use them in written form? Maybe a fair portion of training data comes from lecture transcripts, where such responses are common when responding to direct questions? And/or system prompts are just instructed to be like that?
As far as I understand, it's due to RLHF. The reviewers the AI companies use don't necessarily know what kind of question is a good one, so when the LLM answers "That's a good question!", they tend to rate the answer higher because they like being flattered. Proxy models that are themselves trained on RLHF inherit this pattern. Similar effects contribute to sycophancy.[1]