Now, as a matter of academic courtesy it's nice to cite the SE post if it's feasible, but it's impossible for me to remember where I learned everything I've learned over the years. Likewise, an LLM shouldn't be forced to cite where it learned facts, which might be technically hard/impossible, but if there is a clear best source then as a matter of politeness it should. And LLMs mostly do this when they can!