I don't think that matters. It is were the ship is flagged. Now if it was a foreign flagged shipped O&O by US, act of war is in question but the US Navy should definitely intervene.
Maersk is a Danish company. The Maersk Tigris is owned and operated by them.