The S&P 500 finished with its biggest weekly loss since September. The S&P 500 and the Nasdaq also registered their third straight week of declines.