Hundreds of people were killed and more than 2,500 were injured, according to the Taliban government, and the death toll was expected to rise.