Just as The USA was "Neutral" during the war while it supplyed allied forces useing passanger ships.
By the time the Lusitania was attacked the sense of neutrality within the American government was nonexistent. But in those days it wasn't like we could massively deploy a force to the European continent anyway.