It could be because of a bladder infectiion also. I'd have
your Vet check her out ASAP. Good luck with this.