The thing is that the EU is not a political monolith, just look at Poland which has just elected a pro-US and anti-EU president. The anti-US policy comes mostly from France, part of Germany (I'm pretty sure a big chunk of the CDU still sides with the Americans out of the public eye) and from the Nordics, maybe the Dutch, too, but I don't follow them all that closely. Also, Italy has got Meloni who's a lot more buddy-buddy with Trump than with any bureaucrat in Brussels.
People here in Eastern- and Central-Europe are fully aware that if push were to come to the proverbial stove and a hot-war against Russia were to start then none of the Western-Euros would do anything consequential to make it go our (Eastern Europeans' way), just look at Poland in '39, for the simple reason that said Western-Europeans don't have the means of doing that anymore and will probably never be able to do it ever again. So the Americans are the only reliable counter-weight against Russia.