> Europe is far more aligned with Russia than they are against. Both sides have the same goal. Russia is killing swaths of European men, and that's about it. Ukraine is killing swaths of European men. The territorial control doesn't explain the war. The killing is the purpose.
By this logic Japan was aligned with USA during WW2, because both sides were killing people.
The logic remains sound, but the facts are different. There was real territorial gain / loss in the Pacific theater. Japan's imperial motives make sense, because they actually did conquer a lot of Asia / Pacific Islands. The US's defense / retaliation motives also make sense, because the US did re-take its territory and force a surrender. So, the proffered motives don't appear to be a pretext.
There's also an absence of an apparent ulterior motive. The US and Japan were also on opposite sides of the world, and had little to no prior history. It's not clear why (or along what lines) they would cooperate with each other in the presence of such real territorial conflict.
Germany is a somewhat closer case. Germany and the US had a shared history and tradition. Socialist / Communist politics were widespread in both, and the US was largely divided as to whether they would support or oppose the German socialists / war. So there is a much stronger case for an ulterior motive here. Indeed, Germany indisputably wanted many of their own people to be killed. Their leadership's desire to kill jewish German is beyond dispute... so as it relates to other classes of Germans (e.g. those who fill the Wiermact ranks)... I don't think we can rule out the possibility on the grounds that those people were (also) German.
However, to get back to the territorial aspect, Germany conquered a lot of land, and the Allies took it back. So, a closer situation to the current stalemate in Ukraine would be WWI. If they're not making any progress in terms of territory... what progress do they think they're making? The main change I see from here is that people are dying... so that's probably the whole point.