I think what is happening overall is brinkmanship by a number of parties, which is not uncommon in geopolitics, and it is unlikely anything significant happens.
But lets discuss the interests of different parties in each state:
Ukrainian interests
There are interest groups in Ukraine that want Nord Stream 2 sanctioned as it going live in June 2022 would end $3bn of transit revenues that the Ukraine government gets.
The oligarchs in the Ukraine owe a lot of their wealth to milking the state budgets.
Then there are Neo-Nazi militias that were folded into the military without much ‘re-education’ who dream of taking Donbass region back and like to wear WWII Galician division insignia.
So we had a Ukraine forces build up last Feb/ March then a climb down (NS2 was supposed to go live last summer but a German court said the legal structure was not compliant and needed to be changed and then re-approved) now is the last gamble before it goes live.