Dogs sit on their owners' feet and lean on legs for many reasons. But dogs often perch on their humans because they are displaying or looking for affection, feeling anxious, seeking security, or guarding their owners.