My experience is sheep are fear driven and goats are lust driven. As a heard, sheep easily panic and run while goats will knock electric fence down to get at food.
I had a goat that would crawl on her side under an electric, wiggling an inch at a time, bellowing every time the fence would shock her, but determined to get at the same grass on the other side of the fence that was on her side.