It is common for a cat with urinary tract infection (UTI) to pee outside of the litter box, it may be trying to communicate, "it hurts when I pee", and choosing your bed because it thinks that's the best place to communicate with you https://bluecrossvethospital.com/cat-urinary-tract-infection...