It’s not so much realpolitik but what’s best for the Americans who volunteer to defend America. I doubt many sign up to support foreign countries that we don’t have a treaty obligation to.
Sorry; obligation with.