The most accurate response is:
These rebellions were grounded in animosity between the criollos and peninsulares that was based on social and economic issues.
The criollos (people of Spanish descent born in the Americas) often felt marginalized and oppressed by the peninsulares (Spanish-born individuals), leading to tensions that contributed to the various independence movements across Spanish America in the early nineteenth century.