That’s called supply and demand - global refined product demand is at/above pre-Covid levels, global refining capacity has been reduced (partly due to Russian war/covid/feedstock conversions). That’s why you see historically high crack spreads.
Aside from undoing the sanctions, there's physically no way to fix this in the medium term aside from demand destruction from a recession or worse. In the medium to long term oil companies are not going to make major investments that will never be paid back because of anti-fossil fuel policies.