China keeps threatening their actual most well-positioned rival, they shouldn’t be surprised if India starts reacting poorly. Especially given Modi’s nationalist leanings.
The recent Maldives thing really drives it home that China isn’t looking for friends, they’re looking for tools for naval basing and power projection.