U.S. stocks rose on Friday, closing higher in a modest rebound from the previous session, though major indexes ended sharply lower on the week as geopolitical uncertainty continues to weigh. The Dow Jones Industrial Average DJIA, +0.07%ended 0.1% higher at 21,861. The S&P 500 SPX, +0.13% rose 3.2 points, or 0.1%, to 2,441. The Nasdaq Composite Index COMP, +0.64% added 40 points, or 0.6%, to 6,257. For the week, the Dow fell 1.1%, the S&P lost 1.4%, and the Nasdaq dropped 1.5%. It was the biggest weekly drop for both the Dow and the S&P since March. For the Nasdaq, it was only the biggest weekly decline since June, though it was its third straight weekly drop. Among the most active stocks of the day, Snap Inc.SNAP, -14.09% tumbled 14% a day after it reported earnings that missed expectations. Nvidia Corp. NVDA, -5.33% one of the biggest gainers of the past year, fell 5.4% after its own results, even though its profit topped forecasts.