Pooped on the bed.

I had cats growing up, but it’s been awhile. I never had this problem.

I put my mattress between my dresser (that has a huge mirror attached to the back) and the wall to move it out of the way. Well, my cat decided to climb up the side of it and sleep on it. Which I was fine with, but he couldn’t get back down. He crawled back up there today, and when I got up to get him down, I saw that he had pooped on the bed. Just wondering if this was because he couldn’t get down from the bed, or if it a behavioral issue.

Also someone told me male cats “spray” what does that mean?

They were born late April. So they’re about 13weeks