Pet rats show affection in various ways, such as grooming each other, bruxing (grinding their teeth), licking, cuddling, and even playing with their owners. They may also enjoy being petted and will often seek out physical contact with their owners as a way to show their affection. Overall, rats are social animals that form strong bonds with their owners and other rats through these behaviors.