It is very difficult to determine exactly what is in Trump’s mind. I can’t say for sure, but I think it is also difficult for him. He seems to be a pathological liar, who just instinctively lies when confronted with any uncomfortable situation. Then he repeats the lies, because he can never admit to being wrong. Then he begins to believe in his lies. Then he gets furious at anyone who doubts him.
D J B
I think that's a pretty accurate and pychologically nuanced take on Trump, actually.