All of the ships were travelling to or from Saudi ports before changing course, ship-tracking data shows.