Though Russia's war in Ukraine has disrupted global petroleum markets, Biden has made things worse by implementing anti-fossil fuel policies and isolating the US' Gulf allies since the beginning of his presidency. He has failed to properly address this crisis, and he even canceled an oil and gas lease sale for over 1M acres in Alaska last week, citing a "lack of industry interest."
The spike in gas prices is a direct result of Russia's war on Ukraine, the ramp-up of sanctions on Russian oil, and continuing supply recovery problems following the pandemic. There's little that Biden could've done to prevent such a price hike, and gas prices aren't only rising in the US but across the Western world. OPEC's decision will hopefully alleviate the current crisis.