U.S. retailers tumbled on Tuesday after a forecast cut from industry bellwether Walmart Inc stoked fears of similar warnings from a sector struggling with the impact of high inflation on consumer spending.

Online retailer Amazon dropped 3.4% in premarket trading, while Nike Inc fell 2.1%. Kroger, Best Buy, Costco, Target, TJX Companies and Home Depot shed between 2% and 5.4%.

Piper Sandler analysts said in a note they expect outlook downgrades across the retail space, with brands focused on lower- and middle-income consumers weakening the most.

Walmart's outlook provided "a diagnostic look at the average American household," showing that consumers are digesting higher prices of food and essentials by lowering spending on discretionary categories such as apparel, according to Jefferies analysts.

Walmart, the biggest private U.S. employer, said annual profit could fall by as much as 13%, adding that it would cut prices of clothing and general merchandise more aggressively to attract investors.

"Whether we are in or heading into an overall recession, it's going to feel like a recession in apparel," analysts at Citi Research said in a note.

Big box retailer Target, which lowered quarterly profit margin forecast in June and said it would offer deeper discounts to reflect weak demand, will report results next month.

Bucking the trend, Coca-Cola Co raised its full-year revenue and profit forecasts on Tuesday as demand for sugary sodas stayed strong despite price increases. McDonald's Corp also reported quarterly comparable sales above market expectations even as expenses soared.

(Reporting by Medha Singh in Bengaluru; Editing by Vinay Dwivedi)