because you are afraid something bad might happen
He stayed inside for fear of getting caught in the rain.