If I had to make an armchair guess? Oppositional Defiant Disorder is part of it. IIRC he's admitted he's been diagnosed with it. Combine that with Vulnerable Narcissism, and maybe some of the same personality defects that cause degenerate gambling,
Or, to try to explain it without all the quasi-psychological mumbo jumbo: he's extremely insecure, filled with anger, can't stand being told what to do, hates being criticized, and has an unquenchable impulse to keep doubling down on things to try to get his desire outcome. But his biggest problem is he lacks insight: he can't see himself without distortion, and doesn't understand what really motivates his actions.