Violence has risen in Afghanistan as militants have made a comeback after their initial defeat following the U.S.-led invasion in 2001 .