Why Ancient Homes were Built on Hills?

Why Ancient Homes were Built on Hills?
Why Ancient Homes were Built on Hills?