Here's why Morocco's quake was so deadly — and what we can do for the next one