I can asspull half answer a slight influence of this with a true-ism.
Black men turn to islam for the same reasons white men turn into fedora tipping level athiests with a sprinkle of black panther cultural larping to push it along
1) Feeling like the smartest most enlightened guy in the room.
2) Fuck you mom and dad I hate going to church on sunday.
Milder ones fall into lock step with MLK with one faith line, black scholars larp Malcom X known muslim with the other.
And if they're not walking the path of the bean pie merchants of the past then it's because they are simply retarded and bought partially into the nonwhite liberal kumbaya all people of color are in it together spiel.
"The white devil is the most racist group so surely someone closer to my color will embrace me and not laugh as they explain to me why they don't have any black people in their nations despite owning slaves too."