In matters this complex, it is never wise to dismiss out of hand the possibility that failing to wage war in hostile regions today leads to the need tomorrow to fight a second war against the same or different enemies in territories closer to home.
India and Pakistan are enemies and yet they both ardently seek closer ties with the US. So too, China has massively expanded its ties to the US since 1971 despite US sponsorship of Taiwan.