Stocks rose Tuesday, seeking to recover from Monday's tech-led selloff fueled by China's DeepSeek AI tech disruption.