Answer:
A writer's giving an inanimate object human characteristics is personification.
Explanation:
Personification is the figure of speech in which the nonhuman things are attributed to human characteristics. Metaphor is the comparison made between two things which have one characteristic in common to them. Symbolism is the way of representing one thing with some other quality.