To defend their nest, of course. They don't make prisoners and aim for the face and eyes of anybody trying to steal eggs or owlets.
But most owls nest in big threes high above the soil, so the probability of an attack is really low. Probably there was a fallen owlet hidden close to you.
But most owls nest in big threes high above the soil, so the probability of an attack is really low. Probably there was a fallen owlet hidden close to you.