When militants attacked Sinjar and other towns in northern Iraq in early August, tens of thousands of people fled into the mountains. They included many traumatized children, whose lives were brutally disrupted by violence and their sudden displacement.