Putin has threatened so called unfriendly states to pay in rubles or have its gas supply shut off. It has said it doesn't buy things for free and so isn't going to charitable with its energy.
Europe has kicked against this with Germany saying its being blackmailed by this move. What other choice does Europe has with Russia alone selling about 40% of energy to the world.
To be honest, if European countries don't want to freeze to death then they inevitably have to obey the rules set by Putin. This step actually looks cruel but I see this is the last step from Putin to escape the sanctions imposed on Russia.
Europe still have other source of gas, they wont Freeze to death as you think though they should reconcile so people in Europe can still have a cheaper cost of petroleum. With Russia, they are on the edge of sinking because of the sanctions and if they keep pushing on this one, they’ll still suffer later on. EU and Russia needs each other, most of the imports in Russia came from western countries and with EU, they rely on the gas of Russia for over a decade now so this conflict should not last or else EU and the rest of the world will experience shortages on the supply which can affect many economies.