Obama is a narcissist who was abandoned relatively early by his mother, and by at least his Kenyan father (we are not sure if Frank Marshall Davis was not the actual father; a credible case for it can be made). This must have made him angry, particularly at his mother, who seems to have been herself very self absorbed.
Mother hatred makes for self loathing, as I don’t think you can hate your mother and not somehow redirect that at yourself, in ways not immediately apparent to your surface consciousness. This anger would not but be intensified if she was a frivolous woman who allowed pornographic pictures to be taken of herself. That home would not have been happy. That woman would not have been interested in being a good mother.
And self loathing leads easily, through projection, to Other loathing, which has been the principle project of our President since before he entered his teens, in my view.
Leftism is the perfect philosophy for narcissists: its lust for power leads, over time, to never needing to apologize, and in the interim to a fully “justified” outlet for your grief/anger.