The ship was exiting Hormuz near the Omani coast when an "unknown projectile" struck, causing a fire in the engine room, the UK Marine Trade Operations said.