The US State Department reiterated its security warning to American citizens in Saudi Arabia and Bahrain on Wednesday, after both countries came under attack from Iran and its allies.