NEW YORK (AP) — The U.S. stock market rallied to the edge of its all-time high on Monday after easing oil prices helped calm Wall Street’s worries that inflation could get even worse. It was coming off a frenetic July, where it swung up and down as oil prices shot higher because of the war with Iran, before ultimately ending the month just about where it started. Higher yields threaten to undercut prices for stocks and other investments, while slowing the economy by making borrowing more expensive for U.S. households and businesses. Monday’s ease in oil prices helped airlines and other companies with big fuel bills lead the market. That’s imperative for Wall Street because stock prices tend to follow the path of corporate earnings over the long term, and worries were rising that U.S. stock prices may have broadly already shot too high.