Why is my cat doing this...

I love my cat, she’s been apart of my family for 12 years now. I’m currently 34 weeks pregnant and these last few weeks she has started acting different. She’s started pooping on the floor outside of my room where the babies crib is even when her litter box is freshly cleaned. She’s recently started getting into the crib even though it’s been up since I was 10 weeks and she left it alone until this point. I’ve gotten her a new bed and put one of the baby blankets in it for her because it was really soft and I thought she liked the softness of the crib blanket but that’s not the case. She scratches up the floors in the house and the furniture. She’s been puking on my clothes after I do laundry. I have no idea what to do. I used a spray bottle once when I found her in the crib and she’s been misbehaving more since then. I’m afraid that once my baby is born she will try to get into the crib with baby or she will pee on the babies things.