Take the peeing and pooping kitty to the vet! She could be sick.

Rule out illness causes before you do anything else.

If you are sure it is a jealousy thing, people have done things like dab a bit of vanilla on each cat's forehead so they smell alike. That can help.

At least call your vet, ok?