The top US military officer warned that the Afghan government's credibility problems with its own people posed as serious a threat to US goals in the war-torn country as Taliban fighters.