Stocks closed lower Tuesday as oil prices climbed on fears that fighting in the Middle East could drag on