The village of Villars

In front of you, look at the villages of Villars (on the left) and Saint-Saturnin-lès-Apt (on the right). They are perched on the mountains! But do you know why these villages are perched?

A. For defence against potential enemies. B. Because there's a breath-taking view. C. Because the houses were more exposed.