Relationship ending

Ever since I had my child the father barely touches me, he is an amazing daddy and will give her kisses and love on her all day but when it comes to me he doesn't even sleep in the same bed anymore...what's going on? I've looked thru his phone expecting him to be getting attention elsewhere but nothing was in there. I love him but  Why the sudden change of affection towards me?