There are many reasons, one can be for example punishment. If the United States disagree with a country over something they can introduce a trade embargo to prevent trade in that area until the other country changes their ways. This was common historically in central and South America, most notably countries like Cuba.