Yeah it had nothing to do with you losing hundreds of lives, slow military build up that caused India to change its entire military doctrine and of course after your prime minister said you guys won't back off then you did.
Their claims are a different story, but if you bring military vessels and explore their claimed land they have the right to blow you up. If you want diplomacy keep your ships out and send a diplomatic mission.
It's their land, they can do whatever they want. Now they are going to police the SCS too, your navy would just run away by the sight of Chinese police. You shoot at ONE Chinese vessel then see what happens to you.