Personification is a literary device in which human qualities, characteristics, or emotions are attributed to non-human entities. In this case, the trees are described as if they have the human ability to feel shame, which is an example of personification.