Mexico's southwestern coast is parallel to the 3000 kilometers Middle America Trench (MAT), where the oceanic Cocos plate (a remnant of the ancient Farallon plate) is being subducted under the North American plate, resulting in many major earthquakes.