After Microsoft and Meta Platforms announced solid financial reports, the stock prices of large U.S. companies rose