I didn’t think these kind of FUBARs were even possible in the age of satellite navigation. Why wouldn’t a ship this size have onboard systems that would warn them away from hitting a reef?
It might be the hull had a breach and the boat was run aground to avoid sinking. It looks precisely aimed with the waves.