What made India hit out at China for the 'Militarisation' of the Taiwan strait?

Amid the ongoing border tensions with China, India hit out at China for the 'Militarisation' of the Taiwan strait. What's the reason behind the move?