The world’s most ambitious free-trade area is colliding with a surge in economic nationalism.

Unfettered trade is the law of the land across the 28-country European Union, and Emmanuel Macron won the French presidency in May on a campaign of more European unity, not less, proudly posing with the EU’s blue and gold flag.

In July, though, Mr....