Shares of industrial and transportation companies rose after one major aerospace company's earnings.

Boeing shares rose after it posted a narrower second-quarter loss, as jet sales offset investments in Air Force One and other programs.

Lucid shares surged after reports that Saudi investor Prince Alwaleed Bin Talal Bin Abdulaziz Alsaud had taken a stake in the electric-vehicle maker.

Shares of package-delivery giant United Parcel Service tumbled even after it raised its full-year growth projections.

Ford Motor shares rose after it boosted its growth forecast.