Brent crude futures LCOc1 hit their lowest price in more than three weeks on Wednesday at $78.11 a barrel but reversed losses in later stage after Yemen's Iran-aligned Houthi rebels said they attacked a Saudi oil tanker in the Red Sea.
Agricultural product prices are often influenced by energy markets, given the rapidly growing use of farm goods in biofuel production.
Ample global supplies, including the prospect of large Black Sea harvests, continued to weigh on wheat prices.
Markets also maintained focus on potential risks to Black Sea grain exports from ongoing hostilities between Russia and Ukraine.
Ukraine's agriculture minister said on Tuesday alternative export routes would not reach the necessary capacity until at least the end of August, and would handle only about half the volume normally shipped through Black Sea ports affected by Russian attacks.
A strike by maritime pilots paralysed Argentina's ports on Tuesday, blocking ship movements and disrupting trade in one of the world's leading grain suppliers, according to local business chambers.