The Dow Jones Industrial Average pared its losses heading into Friday’s closing bell to notch its seventh consecutive weekly gain, a sign of the stock market’s resilience even in the face of heightened uncertainty.

A late-afternoon comeback left the blue-chip index down 63.20 points, after earlier falling more than 285 points. The index surged in the final 10 minutes of the session to secure a 0.2% gain for the week--its longest winning streak since November 2017 when the market rose for eight straight weeks.

...