My initial thoughts based on the information available is both pilots on the merchant vessels were in the wrong. Coming in and out of any harbor there are specific lanes you are supposed to be in, just like driving down the road. That said there may be some negligence on the part of the Indian warship as well. No doubt they were monitoring the harbor traffic both visually and on a radio. I see no attempts at avoiding the collision on the part of the Indian warship.
Basically it looks like they sail their ships like they drive their cars.