US stocks close lower amid tech selloff, high volatility