In compliance with measures established by the Mexican authorities, all passengers entering Mexican territory must complete the Multiple Migration Form through the website

https://www.inm.gob.mx/fmme/publico/solicitud.html

All passengers with final destination Mexico must present the Multiple Migration Form at the time of registration at the airport of origin. Passengers wishing to visit Mexico can check immigration requirements at  Guía del Viajero.