Something wrong....

Something is clearly bothering my husband. No matter what I do he will not open up and talk to me about it. He comes home and is so sucked up in his phone that we barley talk. He just plays his game on his phone, I've seen him play it. He gets upset when I bring it up and gets all sorts of pissy. I don't know how to go about it. He refuses to talk about it. Even when we have sex he seems detached. He just lays there. Eyes closed, no kissing, no touching me besides his hands on my hips. No emotion. There is also hardly any foreplay if any at all. I don't know what to do about it. He seems so unhappy. Maybe it's me or something I've done? Idk what it would be though.