The correct answer is B.
While Gilgamesh was first troubled by his dream, when his friend Enkidu explained that the young man that had saved him was the god sun Shamash, he instantly felt happy and relieved.
Gilgamesh felt that he could trust completely in his god and depend on him to save him from Humbaba.