because you are afraid something bad might happen
He stayed inside for fear of getting caught in the rain.
他待在裡面,害怕被雨淋到。