China’s economic roller coaster is taking a bite out of American exporters, hurting U.S. industries ranging from mining equipment to cotton producers and adding to criticism that China is getting more than it gives in trade with the U.S.

The U.S. shipped just $42.4 billion to China in the first five months of the year, or 8.2% less than the year-earlier period and 13.8% below the peak export year of 2014, according to the Census Bureau.

...