Title: List of earthquakes in Mexico
Content:  Mexico lies within two seismically active earthquake zones. The Baja California peninsula lies near the boundary of the Pacific Plate and the North American Plate, while southern Mexico lies just north of the boundary between the North American Plate and the Cocos and Rivera tectonic plates. The Cocos Plate is subducting under the North American Plate at a rate of 67 mm per year, while the Pacific and Rivera plates are moving northwest relative to the North American Plate. Southern Mexico also contains numerous faults, which causes that section of the country to have high tectonic activity. Northeastern Mexico and the Yucatan Peninsula are not as seismically active as the area close to the boundary between the North American and Cocos plates, but destructive earthquakes can still occur in those areas.
Title: 1979 Petatlán earthquake
Content:  Mexico is one of the most seismically active regions in the world; located at the boundary of at least three tectonic plates. The west coast of Mexico lies at a convergent plate boundary between the Cocos Plate and North American Plate. The Cocos Plate consisting of denser oceanic lithosphere, subducts beneath the less dense continental crust of the North American Plate. Most of the Mexican landmass is situated on the North American plate moving westward. Because the oceanic crust is relatively dense, when the bottom of the Pacific Ocean meets the lighter continental crust of the Mexican landmass, the ocean floor subducts beneath the North American plate creating the Middle America Trench along the southern coast of Mexico. Occasionally, the contact interface or subduction zone megathrust release elastic strain during earthquakes. Large and sudden uplift of the seafloor can produce large tsunamis when such earthquakes occur.
Title: 2021 Guerrero earthquake
Content:  Mexico is one of the most seismically active regions in the world; located at the boundary of at least three tectonic plates. The west coast of Mexico lies at a convergent plate boundary between the Cocos Plate and North American Plate. The Cocos Plate consists of denser oceanic lithosphere, subducts beneath the less dense continental crust of the North American Plate. Most of the Mexican landmass is situated on the North American plate moving westward. Because the oceanic crust is relatively dense, when the bottom of the Pacific Ocean meets the lighter continental crust of the Mexican landmass, the ocean floor subducts beneath the North American plate creating the Middle America Trench along the southern coast of Mexico. Occasionally, the contact interface or subduction zone megathrust releases elastic strain during earthquakes. Large and sudden uplift of the seafloor can produce large tsunamis when such earthquakes occur.
Title: Baja California
Content:  At 3:40:41 pm PDT on Easter Sunday, 4 April 2010, a 7.2 (on the moment magnitude scale) magnitude northwest-trending strike-slip earthquake hit the Mexicali Valley, with its epicenter 26 km southwest of the city of Guadalupe Victoria, Baja California. The main shock was felt as far as the Los Angeles, Las Vegas, Phoenix and Tucson metropolitan areas, and in Yuma. At least a half-dozen aftershocks with magnitudes between 5.0 and 5.4 were reported, including a 5.1-magnitude shaker at 4:14 am that was centered near El Centro. As of 6:31am PDT on 5 April 2010, two people were confirmed dead.
Title: List of earthquakes in Mexico
Content:  This is a partial list of earthquakes in Mexico. This list considers every notable earthquake felt or with its epicenter within Mexico's current borders and maritime areas.
Title: Geography of Mexico
Content:  each other, creating a slip fault that is the southern extension of the San Andreas fault in California. Motion along this fault in the past pulled Baja California away from the coast, creating the Gulf of California. Continued motion along this fault is the source of earthquakes in western Mexico. Mexico has a long history of destructive earthquakes and volcanic eruptions. In September 1985, an earthquake measuring 8.0 on the moment magnitude scale and centered in the subduction zone off Acapulco killed more than 4,000 people in Mexico City, more than 300 kilometers away. Volcán de Colima, south of Guadalajara, erupted in 1994, and El Chichón, 
Title: 2017 Puebla earthquake
Content:  Mexico is one of the world's most seismically active regions, sitting atop several intersecting tectonic plates. The border between the Cocos Plate and North American Plate, along the Pacific Coast of Mexico, creates a subduction zone that generates large seismic events. Activity along the edges of the Rivera and Caribbean plates also generate seismic events. All together, these seismic forces cause an average of 40 earthquakes a day in Mexico. Mexico City is built on a dry lakebed with soft soil made up of sand and clay, which amplifies the destruction that major earthquakes cause. Loose sediments near the surface slow the shockwaves' speed from about 2.4 km/s to roughly 45 m/s. This increases the shockwaves' amplitude, which 
Title: Rivera Plate
Content:  Volcanic Belt. The subduction of the Rivera Plate under the North American Plate, in the Mid-American Trench, has been the cause of the strongest earthquakes in the history of Mexico, including the largest earthquake in Mexico during the 20th century which occurred on June 3, 1932 in the state of Jalisco. The quake had a magnitude of 8.2 with a magnitude 7.8 aftershock, both of which caused widespread casualties and damage. On October 9, 1995, a magnitude 7.6 earthquake occurred beneath the Jalisco region and caused significant loss of life and property. A 7.8 magnitude earthquake occurred on January 24, 2003 near Colima in Mexico.
Title: 2020 Oaxaca earthquake
Content:  Oaxaca lies above the convergent boundary where the Cocos Plate is being subducted beneath the North American Plate. The rate of convergence in this part of the boundary is 60 mm per year. This boundary is associated with many damaging earthquakes; along the plate interface, within the descending Cocos slab and within the overriding North American Plate. The most recent event in the same region as the 2020 earthquakes was the 2018 Oaxaca earthquake, which struck 225 km to the northwest. 6-year catalog of seismicity states that Oaxaca had had over 14,000 earthquakes near or in the region since 1995. The reason is because Oaxaca is in a region with many shallow subduction angles. 25 percent of all the earthquakes in Mexico are in Oaxaca. Oaxaca is near the Tehuantepec fracture zone which is where the plates stick together causing frictions leading to earthquakes. Oaxaca collides with Cocos, North American and the Caribbean plate making it the perfect formula for big and dangerous plates.
Title: 2010 Baja California earthquake
Content:  Mexicali, El Centro, San Diego, Ensenada, and Tijuana are situated in a very active seismic zone and surrounded by important faults. An earthquake of such magnitude had been expected around the fault situated in the southeast of Mexicali. Before the 7.2 earthquake occurred, the surrounding area had been seismically active in 2009. Several foreshocks began from April 1, 2010, with magnitudes of 3, 4 and 5.

Question: what type of boundary was the mexico earthquake?
Answer: a subduction zone.