how did Spain's reaction to the revolt in Cuba lead the United States to declare war against spain in 1898