Egypt and the United Arab Emirates were responsible for carrying out two series of airstrikes in the past week on armed Islamist factions in Tripoli, U.S. officials said on Monday.