US markets ended in the red on Tuesday after a three-day rally, on concerns of higher oil prices and continued unrest in Libya