Don’t you mean Russia put a stop to it because it would undercut their GAZPROM gas sales? I don’t see how Ukraine had much influence on Syria.
This subject did come up back then. Was it GAZPROM obstructing a pipeline, or Ukraine, more or less totally dependent on transit fee, that influenced the EU to hint they would not buy gas from that source if it was going to undercut Ukraine’s transit revenue. That hint was sufficient to evaporate desires for the Iraq portion of the route. Qatar never volunteered to pay for the construction. It was to be the EU.
The latter was generally accepted (that transit fees were the motivation), and largely this was part of the precedent for Nordstream and its destruction. Ukraine transit fee was the source of a lot of corruption, including bribes in the EU to get them to take this action.
Regardless of the details, the overall concept is to accept that oil and gas are everything. Europe has nearly none, just like Japan.