Think Lusitania
While we know now the Lusitania was carrying arms, I don’t believe it was clear at the time, despite the German High Command’s warnings. You are right though, the sinking of Lusitania permanently changed American attitudes to the war in Europe to the side of intervention.