 Whatever the reason, the water flooded the engine room.At some point the water level became high enough to short out the main electrical distribution panel.This caused the loss of electrical power throughout the ship.