This act was hated by the business industry because it was a general trade embargo on all foreign nations that was enacted by the United States Congress. ... During the Napoleonic Wars, rival nations Britain and France targeted neutral American shipping as a means to disrupt the trade of the other nation.
There government hope this helps :D
The Bear Flag Revolt was a direct result of a yearning among United States citizens living in California to have their territory join the United States. The appearance in the territory by American army officer John C. Fremont spurred these citizens to rise up against Mexican rule.