Animals demonstrate loyalty to humans in various ways, such as staying by their side in times of distress, protecting them from potential threats, showing affection through physical contact or gestures, and following their commands or cues willingly. The bond between animals and humans that is built on trust and companionship often leads to displays of loyalty from the animal towards their human counterparts.