I dunno....maybe DON'T pursue policies that encourage "flexible" nations to openly and aggressively align with Russia, China, North Korea, and Iran?
India is going to act in its self-interest (hint: all nation states do and will). Based on its size, geography, history, and pre-existing interests and relationships, India is not likely to become a 100% "yes Mr. American boss, whatever you say boss" state anytime soon. So, maybe take approaches that will get India doing as much of what we like as possible. And realize a good bit of that is a long game. As in not just months/years, but decades.
But nope. We'll just walk into the room, bluster, throw a punch, and then act surprised when the other party leaves the room and disengages with us, ESPECIALLY when there is a tempting alternative right next door. We used a threat (tariff) with a financial downside that wasn't as significant as the financial upside of the alternative (running into the arms of Russian petroleum products, purchased at a discount). If you say "if you don't do what I want, I'm gonna charge $5 extra to you," and I have an alternative that says "come over here and do business with me, and I'll save you $7," well.....people all over the world can do math. It would be smart to run those numbers BEFORE you do the bully routine. But we don't do smart. Not anymore, at least.