Frustrated husband HELP


I was diagnosed with endometriosis so when we had sex it was painful. So we rarely do it. Im 26 weeks pregnant with 2nd child and this pregnancy hasn't been great. We've tried to have sex but it really hurts. I feel like he is not understanding which kind of makes me mad like IM PREGNANT give me a break. Sometimes we go weeks without sex so gives me the silent treatment. HELP!!! What should I do and yes I've tried to do BJ's but not enough for him..