Titan didn't have a flag, it only operated in international waters. But the surface support vessel has a Canadian flag, and Canada's launching an investigation.
Flag of convenience. Where the country of record allows ships to register under their name as a way of generating revenue from foreigners. Bahamas will not do more than issue a statement, if that. You step foot on a flag of convenience boat with no prior reputation and you are effectively waiving any expectation safety.