The Truman’s AIS was turned OFF in heavy marine traffic, as was the AIS of the escort destroyer, USS Dunham; very unusual. The ship’s captain just lost his command, for sure.
Unless that is a basic security precaution in an area where ships are sitting ducks and the local nogoodnicks can track you in real time via commercially available online programs.
If going dark (at least for AIS) is a security precaution, it would be routine in a place like the entrance to the Suez. If it’s routine, there would be rules about collision avoidance without the AIS assist.
I have no idea what the rules are, but if both the Truman and Dunham had gone dark, it’s not just one captain’s mistake. At least the Truman is big enough to win most collisions. That might have sunk the Dunham.
I have no idea about the proper procedures. Inquiring minds want to know.
I'd suspect the drones like the Houthis have been using can hone in on AIS signals.