Pet gerbils can exhibit territorial behaviors such as marking their territory with scent glands located on their abdomen, engaging in aggressive interactions with other gerbils to establish hierarchy and defend their space, and creating distinct areas within their habitat for nesting, feeding, and toileting. It's important to provide enough space, hiding spots, and resources for gerbils to minimize territorial conflicts and promote their well-being.