Your cat has two anal sacs in their bottom. Similar to a skunk’s scent glands, they help mark their territory. They produce a dark, smelly liquid.

Understanding the Context

That liquid is usually squeezed out when they poop.