Confabulation is unintentional, FWIW:
> In psychology, confabulation is a memory error defined as the production of fabricated, distorted, or misinterpreted memories about oneself or the world. […] Confabulation occurs when individuals mistakenly recall false information, without intending to deceive.
Yes, which is why I agree that it’s a better term. That’s not the issue.
So “hallucination” hews close enough to have good explanatory powers.