I go back and forth on whether Spain was a threat to the US. It is debatable. They were mucing around in our Hemishphere.
The "Spanish Empire" was very weak by 1898. A threat to no one.
They were mucing around in our Hemishphere.
Despite the Monroe Doctrine, the U.S. did not own the Western Hemisphere.
And Spain had legitimate ties to the Western Hemisphere. Most of Latin America were former Spanish colonies.