I'm sure some of what we do is because we care, but I don't think it gets sold in Congress without discussing what it does for our economy.
And I will add that it's in our interest to prevent more wars in Europe, not just because they are our largest trading partner, but that's a large part of it - we can't help but get involved once wars scaled up to the numbers they did starting in WWI, and that means American dead, and it's cheaper to keep things under control than send American boys off to die.
With that said, we have the navy that we do because we want to have that influence and we want to keep lanes open for US or US-adjacent shipping. When the Red Sea shit blew up, the world looked to the US, and the US felt obligated because of the amount of shipping that goes through there. It's the same reason the Brits had a massive navy for as long as they did, albeit we are a lot less colonial than they were.
It's also why Russia struggles to project power over long distances (although I'd say they were struggling to project power into the country next door).
I do think this will be the year that the war truly comes home for a lot of Russians who bury their heads in the sand about what's happening. There's only so many Norks that can be funneled into Kursk, and if Russia is slowing down or losing ground in some parts of Ukraine, that's a manpower problem, and Putin is going to have to get a lot more aggressive about drafting Russians in Moscow and St Pete's.