Recent movie/TV show where
The film starts or flashes back at some point to the protagonist being deployed in what I assume to be Iraq during our military engagement there. There's a fire fight which ends with a soldier who's portrayed as a jerk taking photos with the deceased and the protagonist looking on stoically but clearly disapprovingly. He later witnesses the soldier raping a local civilian and wounds him. He then gives the victim his knife so she can exact justice/revenge on her rapist. The majority of the movie takes place back stateside.