Imagine a time without Internet or phones or even widely distributed newspapers.
In the 1840s, news traveled slowly. But rumors didn’t, especially rumors of a coming war between the United States and Mexico. The rumors made the people of California fearful. They felt Mexico might attack them to prevent a rebellion, so they acted. Even before news of the start of the Mexican-American War reached them, the people in California began their own revolt.