Dog aggression following pregnancy/miscarriage

I have a rescue pup. She’s diagnosed with generalized anxiety, and also has a significant abuse history. Thankfully she has a vet that’s she very in tune with, and has seen several different (but effective) behavioral specialist over the years.

Despite being extremely fearful, she often reacts with attempting to protect females/children from the things she’s afraid of. After initially adopting she expressed this with fearful and reactive behaviors. With work it’s become just occasionally barking/baring teeth (specifically with-male strangers who are tall, lanky, and happen to have feet.)

Visitors usually mean a bit of a production effort on our part so she’s comfortable, but we never had any significant issues....Until I got knocked up.

Turns out this dog knows my body better than I do. From day one it’s like something switched on in this dog and she needed to protect me from the world. Not being able to find any other cause for her change in behavior is actually the only thing that prompted us to test. Probably the only reason we found out.

Then I miscarried somewhere around 6 weeks along. It’s been three weeks since. While her behavior has improved some, but isn’t totally back to baseline. She’s still guarding and expressing more aggressive behavior.

This has left me in a weird position. I don’t know how much of this is normal; and if normal, how long it takes a pup to typically readjust. In any other situation we’d involve trainers. However, right now I’m by no means ready to talk about the cause for this change, nor the consequential miscarriage. (I’m very much aware this was a early miscarriage and hope this doesn’t come off as silly to other people.)

Has anyone here been in a similar situation? If you’ve dealt with behavioral changes did they go away after? And if so how long did that take?

Any advice or information is welcome.

(Vet was consulted before the pregnancy was known and we did everything from labs to X-rays so we know she’s physically very healthy.)