The correct answer is A. manufacturing.
While agriculture and ecotourism contribute to Mexico's economy, manufacturing is a major sector, particularly due to the country's strong presence in industries like automotive, electronics, and appliances. Military spending is not a primary driver of the economy compared to the other sectors mentioned.