This isn't about foreign policy, this is about domestic food prices, which are more politically important than foreign policy for any government in any country
Making Diesel fuel massively more expensive prior to a very expensive transition to electrical trucks is also making pretty much every good more expensive, everything travels by Diesel powered trucks and/or trains. Biden and company have also decided theoretical so far punishment of Russia is more important than all of the above, for example the East Coast has halved its refinery capacity in the last decade and as of late was getting a lot of distillates from Russia.