The conflict has upended long-held assumptions in Gulf markets, pushing investors to factor in new dangers.