Answer:
Personification
Step-by-step explanation:
In the given example, the sun is being personified (giving human qualities and characteristics to something nonhuman) by giving it the pronoun he.
Examples of personification:
-My knife pierced my hand angrily as I tried to use her to cut an apple
-The moon is too shy during the day. That's why we can't see him very well