EU has since long introduced for example the emissions rights: CO2 emissions have a price. EU has steered towards electrification of cars, buses and trucks. EU has implemented policies to decrease trash production etc etc
Keeping Fossil fuel very cheap with subsidies is exactly what will cause economic crisis and suffering. Steering away from fossils does the opposite.
I am well aware EU (and mainly many memberstates) also support fossil fuels in various ways, but it is in no way as black and white as you paint the picture.
No, it's not the goal of the EU-policy towards Russian fossils to make fossils more expensive, just a side effect, but it's not a bad one. And I don't think it's "the capitalists" deciding those policies, they'd probably rather have just continued the trade from before 2022. The fossils lobby is powerful but there are more players and influences at play. Things are very very rarely as simple and black/white as some people try to tell you. The harsh truth is that no one is truly in control, there are many things that happen and not everything happens for a reason or because someone powerful decided it. The world is organised chaos.