The reason is the principle of comparative advantage, which says that each country should specialize in the products that it can produce most readily and cheaply and trade those products for goods that foreign countries can produce most readily and cheaply. This specialization ensures greater product availability and lower prices.
The explanation of comparative advantage helps clarify why countries trade even if one country can produce everything more efficiently. It reminds me of group projects because each person focuses on what they do best so the overall result is stronger. This challenges the argument that stopping trade would protect jobs, because trade actually increases efficiency and total output.