A senior U.S. military official said on Wednesday attacks by Iranian-backed groups on bases hosting U.S. forces in Iraq were gathering pace and becoming more sophisticated, pushing all sides closer to an uncontrollable escalation.