As I shared in another comment according to NHK News in Japan, poor visibility due to sand storm was the cause. It is a Japanese ship operated by Taiwanese company.
Can you find that tweet again? I'm scouring every link I can find and I seem to have lost it.
In particular, there was one where someone said another ship behind them _also_ lost power/control around the same time and almost rear-ended them. I would really love to find that tweet again.
Edit: Go to https://www.myshiptracking.com/ and use the Playback button with timestamp 23/03/2021 06:15:00 to see the ship drifting left and right.