My sister’s cat would act guilty, skulking behind furniture, etc. My sister knew that meant there was a mess somewhere in the house. When it was found, and she gave a cat a swat, the cat was all cheerful again.
When my cat was alive, the kitty litter was along the bathroom wall near the toilet. And when I sat down on the toilet, my cat often chose that time to do her thing on the kitty litter. Strange look on her face but I chuckled at her purposeful timing.