Ukraine is not (yet) a NATO member. NATO is not at war with Russia.
Well... All NATO countries are pouring funds into Ukraine as well as building military capabilities at breakneck speed.
While NATO doesn't have boots on the ground, I'd say that's a technicality.
One important thing to understand that NATO is thinking about NATO. The reason they are propping up Ukraine is to bleed Russia. NATO countries trust Ukraine about as little as they trust Russia. Both are oligarch/maffia run kleptocracies with barely functioning democratic institutions. They're reluctant to win the war for Ukraine, since that might only lead to Putin2 in Ukraine.
In WW2 terms, we're now in the phase we call "the phony war". In 2022 European NATO was not able to meet Russia. NATO was completely dependent on USA being their army. Biden, as every US president, was annoyed at Europe for underfunding their military, and basically letting USA subsidise our generous welfare programmes. So he lowballed Ukraine support in the hope that Europe would grow some balls. Europe didn't. Lithuania did. I think that was about it. Arguably Poland as well. Then came Trump, upending the post WW2 alliance system. Europe woke up fast as fuck. That was two years ago.
From a military strategic point of view, Europe is militarily weak now. Yes, they have recently bought a bunch of fancy new toys. But it takes many years of training to use those new toys effectively. By bleeding Russia in Ukraine now, if there's an all out war, they're buying time to train in order to maximise the effectiveness of the initial contact.
I'd say Europe made their own bed. Putin, an old style imperialist, could see how Europe was soft and lazy, and taking USA for granted. After the fall of USSR, Europe has done little to curtail Russian abuses of their neighbours. Certainly not USA. This has been ongoing for nearly 30 years now. There was no shortage of alarm bells that have been ringing, all this time.
In the world of international diplomacy, the size of your army dictates how much you are to be taken seriously. Since the 1970'ies, Europe made themselves politically irrelevant in the world. That's nobody's fault except Europe.