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.