So absolute upper bound for losses is $180 million. If I were making odds I would guess that only 1/3 of the ships diverted around Africa, so $30 million, and that the rescue cost another $15 million, so over/under $45 million.
And that's without even bringing up that there was a canal pilot on the ship at the time who may share some portion of the responsibility for the accident. So, yeah, it's extortion.
More likely: Ships are required by rules to have an Egyptian pilot on-board during the passage, and there is limited legal liability for ordinary operating circumstances. That said, if an Egyptian pilot was found grossly negligent of their duties, then they would be liable. However, in most legal systems, this is an exceptionally high bar. And, I assume if you pass the canal, you subject yourself to the Egyptian court system. (Read about the big cruise ship that ran aground in Italy. That story reads like text book gross negligence!)
“(7) Owners, mobilizers, charterers and/or operators bind themselves responsible for any mistakes resulting from pilot’s advice or arrise by SCA personnel.”
https://www.suezcanal.gov.eg/English/Navigation/Pages/Ruleso...