Trump is utterly incapable of admitting that he's less than perfect.
I bet he thought that he was going to lose, and now that he's been elected he suddenly realizes that all of those skeltons in his closet are going to see him jailed.