It's all related. being raised with a lot of Islamic influence would make him more susceptible to the communist/socialistic- anti- establishment influence of Ayers, Dohrn, etc. Especially it appears, since his own mother was a ultra lefty.
NO doubt Obama knew all about Ayers before he even met him.
Communism and Islam don’t mix.