Stocks closed higher Tuesday, rebounding from sharp losses in the previous session as a strong jobs report had traders lowering their expectations for near-term interest-rate cuts.