Microsoft is having a rough stretch on Wall Street, and the worries center on one thing: how much it costs to build artificial intelligence.

According to Investing.com, Oppenheimer cut its price target on Microsoft stock, citing AI concerns. The move adds to pressure on a company that Barron's describes as the latest big AI play to wobble. Crypto Briefing reports the stock is facing a historic June rout amid heavy AI spending.

The core question is about margins. Microsoft's Azure cloud business has been a key support for the stock, but as Yahoo Finance notes, investors are weighing whether AI demand can offset the rising cost of building out cloud capacity. Spending pressure on cloud margins is what pushed shares lower on June 25, according to Yahoo Finance.

The cost squeeze is showing up elsewhere, too. The Sun Malaysia reports that Microsoft is raising Xbox prices as AI chip costs surge — a sign that the expense of AI hardware is rippling beyond the data center and into consumer products.

Taken together, the sources point to a single tension: building AI is enormously expensive, and the market is no longer giving big technology companies a free pass on that spending. Investors want proof that the revenue from AI services will eventually justify the bills for chips and cloud infrastructure.

Why it matters: Microsoft is one of the most valuable companies in the world and a bellwether for the entire AI boom, so when analysts start questioning whether its spending will pay off, the doubt tends to spread across the market.