anthropomorphism

noun
  1. the attribution of human characteristics, emotions, or behaviors to non-human entities, especially animals or inanimate objects

Examples