As I understand it, a ship’s captain, at sea, can put you in the brig, in shackles or under house arrest, so to speak. Their word is law.
A ship is on the high seas outside of any jurisdiction.
Domestic flights never leave US Airspace.
Big difference.