He either did it, or he hired someone to do it, to get out from under something that was making him look like a fool to the black community.
Black men do not like to be "shamed" by their women.
There are both male/female and black/white perspectives:
Maybe OJ looked like a criminal to the white community. Maybe his ex-wife was embarrassed by OJ’s sexual escapades.