The severity of earthquake damage at a location depends jointly on the earthquake's magnitude (total energy released) and its proximity to the site (both epicentral distance and focal depth) — larger magnitude and closer/shallower sources produce stronger shaking.
The April 2015 Gorkha earthquake (Mw ≈ 7.8) was a large-magnitude event with a relatively shallow focus, and its epicenter was close to the Kathmandu...
Full option-by-option analysis available to enrolled students.