why did the american public favor war with spain

the explosion of the USS Maine was the main cause for this sentiment. Yellow journalists took the explosion (which was caused by a fire on board) and blamed the spanish.