Why won’t he talk to me?

I have a girlfriend who came to visit/stay with my family (me, my husband and our 4 month old) for Christmas. I had finished nursing our son and realized my husband had been having a long, good conversation with my friend. I feel jealous because he never has long conversations with me. He’s either always reading on his phone or half listening to me and involved in a work group text chain. If I ask him to put his phone down he gets upset. I don’t understand why he won’t be present with me, but it was so natural with my friend😥

Also throwing it out there that he is not cheating on me, nor do I think he ever would in case anyone reads this and gets that from reading between the lines.