anthropomorphism
🇺🇸
/ˌænθrəpəˈmɔːrfɪzəm/
🇬🇧
/ˌænθrəpəˈmɔːfɪzəm/
Attributing human characteristics or behavior to non-human entities, such as animals, plants, inanimate objects, or natural phenomena.
In the movie, the sun was given a friendly face and a cheerful personality, which is an example of anthropomorphism.