Faiz Khalil was a colonel in the Iraqi Army, whose work with the United States military may have provoked the killing of his 8-year-old daughter. Mohamed Sharif was a student in Mogadishu, Somalia, an urban war zone terrorized by rival militias.

Both arrived in the United States as refugees,…