Why did Mexico want California from Spain?

Mexico did not want California from Spain. California was a part of Mexico from 1821 to 1848, when it was ceded to the United States as a result of the Mexican-American War.
Copyright Wanderlust World © https://www.ynyoo.com