Afghanistan has grappled with a surge in terrorism, deepening ethnic rifts, protests, and the devastating impact of natural calamities in recent weeks. Two years into their control of Afghanistan, the Taliban is struggling to govern as a state actor.