Why did Arizona become part of Mexico?

Arizona never became a part of Mexico. It was part of the Viceroyalty of New Spain in the 17th and 18th centuries, and was ceded to the United States in 1848 as part of the Treaty of Guadalupe Hidalgo.
Copyright Wanderlust World © https://www.ynyoo.com