Why did many Mexicans come to California in the early 1800s?
This statement is not correct. There was not significant immigration of Mexicans to California in the early 1800s. Mexico itself gained its independence from Spain in 1821, and during this time, California was governed by Mexico, rather than the other way around.