As you see in the picture goats (not only wild goats) are so fearless, but I never saw any sheep do this. What is the source of this difference in behavior?
1. Sheep are fearless
2. English common names are misleading when it comes to the genetic differences between goats and sheep
You posted a picture of Mountain Goats (Oreamnos americanus), which are a different genus than Domestic Goats (Capra aegagrus). Both Capra and Oreamnos are members of the Subfamily Caprinae, as are Domestic Sheep (Ovis aries).
Within Caprinae, Capra and Ovis are actually more related to each other than either one is to Oreamnos, despite the confusing way that we parcel out English common names. Oreamnos is, in fact, more closely related to the Musk Ox! (Here's the Tree of Life page that shows the phylogeny of Caprinae).
The Domestic Sheep genus Ovis also includes mountain species such as the Bighorn Sheep Ovis canadensis, which is plenty fearless. See the Bighorn Sheep above, and in this incredible photo, or in this one which is a very similar setting to the one you posted. For what it's worth, the Domestic Goat genus Capra also includes cool mountain species, such as the Ibex.
Edit: the differences in behaviour between the domestic goat and sheep would be a combination of the initial differences between wild Ovis and Capra and the coevolutionary process of domestication; where humans shape niches to fit animals and animals to fit niches. It's possible that there has been more neotenization in the domestication of sheep, in which individuals who show immature characteristics are successfully selected for. See also this other question on apple and pear domestication.
(Bighorn Sheep photo by TwelveX, used under CC BY-NC-SA license.)
You should also bear in mind that the fact that they are great climbers does not make them fearless. For example, if I were to find myself floating 500 meters above the ground, I would be terrified. The fact that birds do not appear to be scared in the same situation does not make them fearless, it just makes them fliers.
Similarly, I am sure a fish would be terrified if forced to spend half an hour in a beach bar. I, on the other hand, would find it enjoyable and not scary at all. It does not mean I am fearless or brave. You can only be brave when you ignore your fears not when you have none. Since mountain goats are exquisitely suited to jumping around on sheer mountain cliffs, it probably causes them no more fear than visiting a beach bar would cause me.