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 traumatised children, whose lives were brutally disrupted by violence and their sudden displacement.