Why was the domino theory an influential part of us foreign policy?

The Domino Theory was the thought that if a country fell to Communism other countries would as well. Just like dominoes one after the other they fall.