A comeback rally gave way to more selling Thursday, with the S&P 500 falling to a new 2022 low.