TMI so beware lol my husbands ...

Me and my husband haven’t had sex in some time I’m pregnant uncomfortable no sex drive I have been turning him down due to be uncomfortable. Tonight we had sex, he instantly starts saying it hurts after I look at it and right around about an inch from the head it’s clearly red and raw. I obviously ask and he kinda laughs saying he’s been jacking off a bit. Which I’m fine wit but would a guy seriously do that to the point it was red and raw. I trust him, but this is also weird .... any women have husbands to ask or have heard of this