There are insects in the village. Bats feed on all kinds of insects. At night, there are lights in the village. Insects have phototaxis, so there are many insects in the village. Bats naturally fly around the village.
In addition, there will be various livestock in the village. Their smell can also attract many insects.
Where there are many insects, bats can easily find food, which is why bats fly to the village.