Need advice!

My relationship with my partner has changed so much since he found out I was pregnant also ever since I moved in he just hasn't been wanting me & he hasn't wanted much attention from me all he does is get home & eat dinner then he goes to bed. I don't know what to do because I don't want to be pushy with him by telling him that I need more attention because I've told him that and he just tells me that we see each other every day & that I'm getting more attention than I ever have. I just need some advice on what I should do because I'm very confused on why he became so distant