cats are very sensitive to changers with their owners mostly when it comes to pregnancy/a new baby around... the peeing would have maybe stopped eventually but you never know, sounds like a super sensitive cat, one of my cats that lives with my mom (i moved out 2 months ish ago) always pees in the house, it's super annoying, in boxes and on plastic and on leather... and boots.

she's slowly getting better with it now that she has plastic in her litterbox (haha) but it s taking a really long time to re-train her to use it since she's been doing it for at least a year..