The explosion that sank the Maine was almost certainly the result of a build up of coal dust, which is essentially a suspended combustible particulate.  Explosions of that nature are not uncommon in coal mines, and are now governed by all sorts of fire-prevention regulations.
.
That they nonetheless blamed it on Spain is history ...