congress issued a resolution on April 20 declaring Cuba independent and demanding that Spain leave the island within three days. ...My answer would be because, Cuban rebels wanted independence from Spain
The conflict between Cuba and Spain (Spanish-American War) is caused when the Congress declared Cuba's independence and forced Spain to get out of Cuba. Hope this helps!!