The UK (and Europe) could produce much more gas and consequently control prices if they wanted. It is easy to always blame the previous government(s) but the current situation is policy across Western Europe.
Edit: puzzled by the blunt downvotes for stating a noncontroversial fact. Over the last 15 years the US has invested in shale gas while the UK and EU have banned it. Even today the UK refuses expension of North Sea gas extraction. Whatever the reasons (environment, decarbonisation) it does mean that the situation we have now with gas across Western Europe is policy, not an unfortunate consequence of world events...
It takes time though and it's hard to anticipate geopolitical shocks like the war in Ukraine and Iran.