How did the domino theory get the US into World War 1?

The US was an ally with France, Britain and Russia. The US was fighting to keep the peace in Europe. The United States supplied its allies with weapon food etc...