You made a very good point, and I think both reasons are true. While the main reason is to protect the mortals, the gods and goddesses can experience feelings of insecurity as well. Even though they have high power and immortality, they are just as sentient as human beings and also experience human emotions.