It’s called confabulation. My mother-in-law is going through increasing dementia right now. When she gets confused by something, she just makes stuff up. Encroaching dementia with underlying malignant narcissistic personality disorder can be used to pretty much explain all of Trump’s behavior and statements right now.
But then again, so can a diagnosis of dumb asshole.