Well, let’s not gild the lily here. I agree with those of you who are saying the explanation is his infantile, narcissistic, or just plain-crazy outlook, but I also think you’re taking those metaphors too literally. He had (has?) rational (if evil) people all around him swearing up and down that there will terrible consequences to his actions but he went ahead and did them anyway. “Do this and you will certainly go to jail, Mr. President, and along the way until that happens you will be massively inconvenienced trying to delay that eventuality. Much better not to do it at all,” they said and he promptly ignored all of them.
I think you can analyze why a baby, or a lunatic, or a spoiled child (all three slightly different metaphors) does that. It’s simplistic to say that these metaphors are self-explanatory. A spoiled child, for example, would have an answer if you could sit him down and demand that he answer your question of “What do you think the consequences would be?” (which you could never do with him, of course, because he is a very rich spoiled child). In this hypothetical case, I think this particular spoiled child’s answer would be “I won’t face these consequences because I’ll be President for the rest of my life with enough GOP senators to assure that I’ll never be impeached successfully.”
His interlocutors would, in my hypothetical, have come back “That’s highly unlikely, young sir. No one has ever done anything like that, and there are all sorts of laws against that, the 22nd Amendment,” etc. and he would have said “I’ll get those laws changed, and the army is on my side, so who’s gonna force me to leave the White House? And also I’ll declare a state of martial law and suspend elections, even retroactively if I lose but I’m so popular that I won’t lose anyway” and on and on.
These answers make little sense to you and me, but I think they satisfied Trump, who tried making them a reality (and is still trying his best). I’m not seeking to argue that he’s smart or a good planner or anything, just that mentally disturbed people have plans and I think this was his: “I’m going to be President forever.”
Once you accept that he intended to remain in power all along, everything else falls into place. No need any more to examine his motivations, ask why those classified docs were in his desk, wonder why he does the legal manuevers he tries to pull, etc.