Indeed, and US goes to many great lengths to suppress any protentional superpower, after ww2 they fought head to toe with ussr until it dissolved. Little people know when japan economy was exploding US came with aggressive policies like Plaza Accord and more to damage japan economic growth.irrespective of what happens during or immediately after this pelosi visit, the path for future escalation between CCP and U.S is set one way or the other. fact remains that a wealthy country of non-european stock publicly mobilised it's military as a show of strength against a incumbent superpower, these sort of things have consequences in medium to long term.
no peace treaty can undo this now.
US doing same with china, it is fighting china everywhere, until 2050 china is a threat to US superpower, so we will see lot more US-China fight and at the same time china can't afford full scale war yet because its military is still no match to USA.
When it comes to india, once india gdp reaches US gdp, they will pursue india as a potential threat. thats why they kept pak as alley, US dont give a shit about democracy or rules based order, many times they dethroned democratically elected presidents and installed military dictatorship, the best india can do is don't damage relationship with russia because of china-russia strategic friendship.