Nonces all the way down.
Here’s one explanation I’ve heard, that I think makes a certain amount of sense. The United States can walk away from this war tomorrow, with its reputation as a great power intact; in fact, not having any more of its advanced weaponry blown up by the Russian orc Asiatic Hordes would go a long way toward preserving whatever international prestige the US military still has. Naturally, it would be a major geopolitical setback for Washington, and for the Democrats a political disaster. But it would not mean in any way the end of American global power. (The war itself actually undermines American power, and there may be a few people in the state apparatus who can see it – one or two high-place individuals who aren’t totally drunk on their own propaganda of the US as some unstoppable military and economic juggernaut).
The UK, on the other hand, wants to be seen as a great power, and this is a reputation they can very much lose. Defeat in Iraq and Afghanistan created demoralization at home, and a sense abroad that the UK was militarily and on the world stage basically inconsequential; which latter was especially galling, given that Americans already tend to view the UK as a colony (American talk of “our valued partners in London” has been for the past fifty years mostly a sop to British feelings). Nor did Brexit create some kind of prosperous, internationally significant “third bloc” distinct from both the US and the EU; the country has been going downhill economically, and its domestic politics have been even more overshadowed by Washington. Thus Ukraine becomes for the UK’s government a kind of last-ditch military adventure meant to salvage their reputation on the world stage. It is a war against the old enemy, Russia; and it will, if successful, show the superiority of the neoliberal order over the controlled, neo-Soviet economy Russia is supposed to be. But the war is very much not succeeding, and the UK is thus compelled to throw more money and equipment – and huge numbers of Ukrainians, not that they care about this – into a bottomless pit.