Why do buildings fall in earthquakes?