The correct response is:
The Spanish were unable to focus resources on governing the colonies.
Conflicts on the Iberian Peninsula, such as the Peninsular War, diverted Spanish resources and attention, making it difficult for Spain to effectively govern its colonies, which contributed to the rise of independence movements.