Trade vs Protectionism

If the case for free trade is so convincing, why do we have protectionism?