Euphemism for having sex. You don't want your cat staring you down in the middle of the act, so you put them in the bathroom.
"Did you hear? Kathy and Derek put the cat in the bathroom last night!"