Free trade works so long as you are the economic hegemon. After the Napoleonic Wars, Britain was the strongest economic power and championed free trade until the 1870s. Then German and French manufacturing, US and Argentinian agriculture competed favorably with British manufacturers and landowners and free trade was not so popular in the run up to WW I.
Similarly, after WW II, the US was dominant and free trade served us well. However, as other nations develop their competitive advantages, free trade is not so popular in the US.