- Since May, China has eased imports of non-Basmati rice
- US has ratcheted up trade tensions with tariff threats against China
- Trump factor pushes India, China to coordinate priorities closely
President Donald Trump's moves to protect U.S. trade interests are creating unusual bedfellows in Asia.
India and China, longstanding economic and strategic rivals, are seeing a thaw in relations less than a year after the most serious border flare-up since a war in 1962 threatened ties between the two Asian giants.
Since May, China has made it easier for India to export non-Basmati rice, removed import duties on anti-cancer drugs and agreed to share data that predicts river flows between the two countries during the flood season. Chinese President Xi Jinping and Prime Minister Narendra Modi have met twice since April, pledging to strengthen bilateral ties.
Driving the marriage of convenience is Trump's unpredictable policy-making. The US has ratcheted up global trade tensions with tariff threats against China, Canada, Mexico and the European Union, prompting several to retaliate. Last week India also joined the fray, raising duties on a slew of US imports.
"China understands that this trade war situation isn't going to end in a few days or even months," said Bipul Chatterjee, executive director of an India-based trade think tank. "They wouldn't want to open more than one battle front. The focus is now on confronting the US."
The question many observers are asking is whether China's cosier relationship with India can endure. The world's two most-populous nations have had a tense history, marked by border disputes and China's growing economic influence in South Asia.
"I don't think the fundamentals of the relationship are changing in any way, but the Trump factor is pushing them to coordinate their priorities more closely," said Harsh Pant, an international relations professor at King's College London.
Here's a look at some of the flashpoints that hinder stronger ties:
India's two-way trade with China touched nearly $90 billion last year, making it the largest commercial partner of the South Asian economy. The bilateral trade gap was $63 billion -- India's largest -- mainly due to imports of Chinese-made heavy machinery, telecom equipment and home appliances, according to commerce ministry data.
The deficit widened from $36 billion in the financial year ended March 2014, driving up the current-account gap and adding to the economy's vulnerability.
Modi's flagship 'Make in India' initiative to foster local manufacturing struggles in the face of low-priced imports from China, while at the same time India's cost-competitive software services companies battle to get access to the Chinese market.
To curb the shortfall -- and counter to China's easing of trade barriers -- India boosted tariffs on electronic goods, such as mobile phones, TVs and microwave ovens last year.
Closer trade ties seem incongruous less than a year after troops from the two nuclear-armed nations faced off in a dispute in the remote Doklam Plateau between India, Bhutan and Tibet, triggered by China's attempt to build a road there.
Tension eased after the two countries agreed to an "expeditious disengagement" of troops from the area in late August, with Modi and Xi later pledging to strengthen communication between their respective armies at the informal summit this April.
Sino-Indian relations have long been marred by disputes over large tracts of land along the border. India's hosting of the Dalai Lama and the Tibetan government-in-exile in the mountain town of Dharamsala in northern India is also a source of anger in Beijing.
Another sore point in the bilateral relationship has been China's ambitious global infrastructure plans, which include projects in New Delhi's Indian Ocean backyard that domestic analysts worry have a strategic dimension.
Under the so-called Belt and Road Initiative, China has financed ports and roads from Myanmar to Sri Lanka and Pakistan. India is one of the only holdouts globally.
At a recent foreign ministers meeting of the Shanghai Cooperation Organization, a China-led group, India was the only member country not to endorse China's Belt and Road plans.
Drawing the most alarm for India is the $60 billion China Pakistan Economic Corridor, which runs through Pakistan-administered land in the disputed border region of Kashmir. New Delhi claims the region as its own territory.