Which if these was a cause of the spanish-american war?

A.the assassination of Archduke Fran Ferdinand

B.the bombing if Pear harbor

C.the sinking of the USS maine

D.the firing on fort sumter