Embarrassed and confused

So my boyfriend and I just had our baby 4 months ago. He's all of a sudden been sleeping on the couch, is not affectionate towards me at all, and we never have sex. I looked thru his phone to figure out why. On phone history he's been watching porn every single night. I'm a white female and the girls he's watching are black. Which I'm far from raciest but that's the complete opposite of me, he's apparently not attracted to me anymore....should I leave? Help!