MJ was heavily abused physically and mentally in his youth. Being raised as a Jehovah's Witness fucks you up in a lot of ways so those of us from that era and background were never surprised at how he became a fucked up adult.
And to be clear, none of that excuses the things he did, but it does help explain how they came to be.