The term propinquity explains

Both 1 Geographical proximity and 2 Why people affiliate with one another

Geographical proximity

Why people affiliate with one another

None of these