Driving a wedge between Russia and China or waging a trade war against Beijing is not the same as militarily defending Taiwan, et al
Trump needs India to contain China and as a member of the Quad, India will be counted as an ally in his confrontation with China
India can leverage its partnership with the US to advance its geopolitical interests without provoking a volatile and vindictive China