Causes of rebellions in Spanish America