From what I've read about the anti Japanese hysteria, racism was a big part taker. they often discriminated against non-white immigrants.
The Cuban Missile Crisis was NOT a cause of the Spanish American War because it did not occur until much later in history. However, yellow journalism, the sinking of the U.S.S. Maine off the coast of Havana, and American sympathy for the Cuban Revolution were causes of the Spanish American War.