Mexico withdrew its offer to help areas impacted by Hurricane Harvey after facing a devastating natural disaster of its own last week, CNBC reported Monday, citing a statement from the state's foreign ministry.

After an earthquake rocked southern Mexico late last week, the government rescinded its offer so it could focus emergency services for the millions of people in need of assistance in its own country.

ADVERTISEMENT

The 8.2 magnitude earthquake has killed at least 96 people while many homes and buildings in the area crumbled to dust.

"Given these circumstance, the Mexican government will channel all available logistical support to serve the families and communities affected in the national territory," the foreign ministry reportedly said in a statement.

Mexico had previously offered to provide food, water, boats and a long list of other items after scores of people were displaced from their homes in Houston and other parts of southeastern Texas due to the rise of floodwaters.

President Trump also said late last month, after the Category 4 storm made landfall, that it would be the costliest natural disaster the U.S. has ever faced.

The ministry noted, according to CNBC, that the U.S. embassy took nine days to respond to Mexico's offer before accepting "only certain logistical aid."

Mexico offered the olive branch during a time of tension for the U.S.-Mexico relationship, as Trump repeatedly promises to have Mexico pay for construction of a wall on the U.S.-Mexico border and has vowed a crackdown on immigration.

The U.S. embassy in Mexico did not immediately respond to the news outlet's request for comment.