President Hamid Karzai has frequently lashed out at the U.S. military for causing civilian casualties in its raids. But behind the scenes, he has been building a far broader case against the Americans, suggesting that they may have aided or conducted shadowy insurgent-style attacks to undermine his government, according to senior Afghan officials.