Without the bailout, Greece would have gone into default in late March, which would have thrown the eurozone financial system into chaos.
Tension in the Middle East over Iran's alleged nuclear weapons program is also pushing prices higher.
On the New York Mercantile Exchange, light, sweet, West Texas Intermediate crude added $2.27 to $105.87 per barrel, up 2.2 percent. Home heating oil added 2.09 cents to $3.2275 per gallon. Reformulated gasoline gained 5.65 cents to $3.2250 per gallon.
Henry Hub natural gas prices lost 7.1 cents to $2.65 per million British thermal units.
At the pump, the national average price of unleaded gasoline climbed half a cent to $3.570 per gallon Tuesday from Monday's $3.565, AAA said.7
Astronomers offer more expansive view of universe
Beautician charged with giving client fatal silicone butt injection