Rallying technology stocks sent the Nasdaq composite to a record on Tuesday, but trading was mixed along the rest of Wall Street as homebuilders and Ford Motor sank following the latest profit reports.

The S&P 500 rose 0.2% to inch closer to its all-time high set earlier this month, even though most of the stocks in the index fell for the day.

Gains for influential Big Tech stocks helped mask weakness elsewhere, and they pushed the Nasdaq composite up 0.8% to top its last all-time high set in July. The Dow Jones industrial average, meanwhile, fell 154 points, or 0.4%.

Alphabet rose 1.8% ahead of its profit report that arrived after trading ended for the day.Other market heavyweights like Microsoft and Meta Platforms were among the strongest forces pushing the S&P 500 upward.

They helped offset an 8.4% drop for Ford Motor, which said an underlying measure of profit for the full year will likely come in at the bottom end of its forecasted range.

JetBlue Airways lost 17.1% even though its results for the latest quarter were better than analysts expected.

D.R. Horton tumbled 7.2% after the homebuilder reported weaker profit and revenue for the latest quarter than analysts expected.

All told, the S&P 500 rose 9.40 points to 5,832.92. The Dow fell 154.52 to 42,233.05, and the Nasdaq composite rose 145.56 to 18,712.75.

Yields have rallied as report after report has shown the U.S. economy remains stronger than expected. On Tuesday, reports said an index of confidence among U.S. consumers jumped more than economists expected, while the number of job openings edged lower in September, but the number of hires remained relatively steady.

Treasury yields eased a bit after paring gains from earlier in the day. The 10-year yield slipped to 4.25% from 4.28% late Monday, but it’s still well above the 3.60% level it was sitting at in the middle of last month.

Crude oil prices slipped after erasing earlier gains to compound their sharp 6.1% drop from the prior day. Brent crude, the international standard, fell 0.4%.

— Associated Press