Earthquakes kill people mainly by causing buildings to collapse.