Dog being strange since pregnant

Sorry not baby related exactly but ever since I got pregnant, my dog had been acting strange. I've had a complicated pregnancy and my husband had been taking care of me and giving me more attention. Thing is, my dog is trying to 'set me up' almost everytime I go to stroke her, she yelps, squeals or lays on her back shaking and acting submissive. (Let me clarify, I have 100% done nothing to harm, scare or intimidate my dog and she was always very loving and friendly with me) it seems like she fakes being scared or hurt everytime I go near her and then my husband picks her up like a baby and showers her with attention while blaming/shouting at me for doing something to the dog when I have done nothing. Im tired of my husband accusing me of 'hurting the dog behind his back' or 'I MUST be doing something cruel to her as she doesn't Yelp for nothing' seriously though, I treat the dog as I've always done, with love and never done anything. I feel  like the dog is doing this on purpose to turn my husband against me. It's only happened since my husband started giving me more attention and caring for me. Is this dog jealous? The dog is fine and acts normal/loving when it just me and my husband isn't around. Why is it doing this and is it any worry now I have a baby coming?? I didn't think dogs were that clever to fake for attention??