NEW YORK — Macy's lowered its annual earnings guidance after the department store struggled with a big earnings miss during the second quarter as it was forced to slash prices on unsold merchandise.

The department store said Wednesday a combination of factors including a fashion miss, slow sell-through of warm weather clothing and an accelerating decline in international tourism led to rising inventory levels.

Macy's also raised another red flag: shoppers don't have an appetite for higher prices in a ballooning U.S. trade war with China. Macy's was forced to raise prices on some luggage, housewares and furniture to offset the costs of a 25% tariff implemented in May on those types of goods.

Retailers are bracing for a 10% tariff targeting items like toys, clothing and shoes that had been scheduled for September. Some of those items have now been delayed until December. Raising prices could be a big problem if the economy enters into a recession, analysts say.

Macy's CEO Jeff Gennette told analysts during an earnings call that the retailer will not be increasing prices as a result of the 10% tariffs. But he said the company will have to work hard with its vendor partners to offset costs if President Donald Trump goes ahead with his threat to ratchet the tariffs up to 25% in the event China won't agree to a trade deal.

Macy's is the first major retailer to report quarterly earnings and what it revealed does not bode well for the sector. Shares of major retailers slumped before the market opened. Kohl's, Dillard's and Nordstrom all fell.

Like many other stores, Macy's is under pressure to reinvent itself as shoppers increasingly buy online. Department stores in particular face challenges as shoppers are gravitating more toward experiences and away from clothing. And if they're buying clothing, many shoppers are heading to places like T.J. Maxx and other off-price chains to buy discounted brands.

Macy's also has been closing stores and shrinking management. In February, the department store announced a multiyear restructuring program that culls its management ranks in the hopes of making the company more nimble.

Macy's reported second-quarter profit of $86 million, or 28 cents per share. That's far from the per-share earnings of 45 cents that Wall Street was looking for, according to a survey by Zacks Investment Research.

Revenue of $5.55 billion also fell short.