Yea, I would try getting her used to a new spot before the baby comes.
The dog is feeling like it's space is being taken from it, so it's becoming territorial, if you can't get the dog used to a new place being their home, the dog could also become destructive to new things coming into that room that it's not used to, which is y when we moved I made the rule my dogs were only allowed in the second room now babies room if they were laying down, so now they lay down if im in there doing anything for more then a second
i was actually planning on keeping her in there, until this happened because she is also an older dog that my mother in law had before she passed. but now ill have to try to move her out. :(
The dog is noticing you're cleaning out their living area and probably knows they will be moved out of the room so it's marking its territory. You just need to find a new spot for his/her crate. It's not that he/she is a bad dog, they just notice the change, they'll adjust soon enough, just give your dog time.