U.S. stocks closed mostly lower Friday, giving up morning gains after the U.S. Federal Bureau of Investigation (FBI) announced it is probing new e-mails related to Democratic presidential nominee Hillary Clinton. Stocks rose early in the session on positive U.S. economic news. Gross domestic product (GDP) grew at an annual 2.9 percent rate in the third quarter, the fastest growth in two years. The report could dispel any lingering fears the economy was at risk of stalling, as growth averaged only 1.1 percent in the first half of the year. The U.S. dollar fell versus a basket of currencies. West Texas Intermediate (WTI) crude futures fell 91 cents, or 2.05 percent, to $48.70 a barrel on the New York Mercantile Exchange. WTI fell 4.2 percent during the week, posting its largest weekly loss since mid-September. Gold rose 1 percent to the highest level in almost four weeks, extending gains late in the session after the FBI announcement on the new Clinton e-mails. Futures for December delivery rose $13.30 to $1,282.60 an ounce. The Dow Jones industrial average was little changed, falling 8.49 to 18,161.19. Sixteen of the index's 30 components fell, led by pharmaceutical giant Merck, whose shares plunged 4 percent. Energy giants ExxonMobil and Chevron both posted mixed quarterly results; Exxon stock dropped 2.5 percent while Chevron shares jumped 3.9 percent, leading Dow gainers. The broader Standard & Poor's 500 index fell 6.63, or 0.3 percent, to 2,126.41. Healthcare led seven sectors lower, while industrials led four sectors higher. The technology-heavy Nasdaq composite index fell 25.87, or 0.6 percent, to 5,190.10. Shares of Amazon.com fell 5.2 percent one day after the online-retailing giant posted mixed quarterly results, with sales slightly above expectations but profits missing estimates. Shares of Apple fell 0.7 percent.