Amazon.com Inc. AMZN 4.65%▲ posted its first quarterly loss in seven years, a result that reflected broad economic trends related to a slump in online shopping, higher costs from inflation and supply-chain woes and market jitters over electric vehicle startups. Revenue for the tech giant rose by about 7% for the January-to-March period, the slowest pace in about two decades as consumers returned to prepandemic habits and spent more money in person at stores. It lost $3.8 billion in the quarter, compared with a profit of $8.1 billion a year ago, when a surge in online orders due to the pandemic lifted Amazon’s prospects. The performance for Amazon’s sprawling collection of businesses reflects several currents now roiling the tech industry. The amount of products Amazon sold during the quarter was essentially flat from a year ago, and the company reported a 3% year-over-year drop in its online stores segment, […]