The ship, sighted 180 nautical miles off the southern coast of Matara, was fired upon by the Sri Lankan navy after it ignored orders to halt.