Ukraine has said it would stop striking Russian energy targets only when Russian forces did the same.
While Ukrainian strikes subsided after Trump's mid-October declaration of an energy ceasefire, they have picked up again since the end of last month.
"We see that the Kyiv regime continues to attack our refining facilities, despite the US president's appeal and direct request to refrain from such attacks. But the Kyiv authorities are ignoring this advice," Putin told a meeting of government officials and senior oil executives in the Kremlin.
"In this regard, I would like to stress that retaliatory measures on our part are inevitable," he said.
He also told the meeting that he wanted additional security measures for energy facilities.
According to estimates from two industry sources, Ukrainian drone attacks have cut Russian oil refineries' combined crude processing volumes by 45 per cent since late October.
Several Russian regions have introduced restrictions on retail sales of petrol and diesel following a renewed spate of Ukrainian attacks on oil refineries, according to local media and authorities.
Putin said that while the situation on domestic fuel market remained difficult, petrol prices have stabilised after they peaked in October.
Ukrainian Foreign Minister Andrii Sybiha said on Tuesday a drone attack against a Russian military vessel and cargo ship in Libyan waters at the weekend was a legitimate act of self-defence.
Sybiha said that both Russian naval vessels and cargo ships transporting military equipment were valid targets and Ukraine's right to self-defence was enshrined in article 51 of the United Nations charter.
Libya's "Government of National Unity" in Tripoli on Monday condemned the Ukrainian military operation that sank the Russian naval corvette Merkury in the eastern port of Benghazi.
It said Libya would not accept being drawn into the Russia-Ukraine conflict.
Libya remains divided following a civil war.
The country's east is controlled by military commander Khalifa Haftar, whose Libyan National Army has ties with Russia.
The internationally recognised Government of National Unity controls western Libya.
"Ukraine is not 'dragging' anyone into the war or 'transferring' the war anywhere," Sybiha said on Telegram.
"Ukraine respects the sovereignty and territorial integrity of Libya. We emphasise that Ukraine's actions are aimed at countering Russian armed aggression and are not intended to harm Libya or its people."