Spain lost control of its major colonies in America essentially for the same reasons as England, which lost the United States: Colonies were freed. Speaking of the Philippines and the small islands that remained, they were gradually struggling from Spain by other European countries and the US. It so happened that when the competition for the colony was the most brutal (in the 19th century), Spain experienced a recession and could not compete with the strongest European powers.