A rise in oil prices sent some large-cap energy stocks higher Tuesday, but the brief pop marks a "good selling opportunity" rather than a rebound for the battered sector, one industry analyst said.

West Texas Intermediate crude settled more than 1 percent higher Tuesday, and shares of ExxonMobil, Chevron and British Petroleum—all hit hard by a nearly 50 percent dip in U.S. crude in the last year—rose more than 3 percent. But investors may want to dump those stocks as prices could stay in a low range for six months to a year, said Fadel Gheit, a senior energy analyst at Oppenheimer.