my understanding of the ending:
***** Spoiler
***** spoiler
Malek bought the clock in Nablus (sh'hem) from a random guy (that probably somehow got it from the people/ terrorists that kidnapped and murdered yoni) , the clock was meant to be a birthday present to his friend.
The officer immediately recognized it on the TV surveilance screen and got all emotional, and after confirming that indeed it was the original clock of his murdered brother by the inside engraving we all saw, he drew his pistol and started questioning Malek about it.
The kid brother (Nasri?) that was meant to stay in the car, saw the officer with a pistol in his hand and mistakenly assumed he was about to shoot malek (he didnt know they were undercover police officers and that he was questioning malek) , shot the officer, the other detective shot the kid brother right after that, malek was unharmed only shocked from the whole incidence.
We were supposed to assume all along the film that :
1. The drug dealer (Binj) was murdered by other gangsters (no, he overdosed)
2. after realizing that they were detectives (not gangsters), we thought they were corrupt when Malik recognized one of them in the drug deal(no, they were just searching his appartment after his brother stabbed the neighbour to death)
3. That Binj was a major drug dealer (no, the drugs were'nt his, it was his brother's. he was just a party guy that was about to move-in with his GF)
4. Malik got killed (no, the shot came from the kid brother)
5. The drug deal was driven by nasty gangsters, then assumed corrupt cops (no, it was a police undercoved operation)
6. Dando the police officer seeked random revenge for his murdered brother (no, he just randomly happened to be there)
7. That the restaurant owner would soften in the end (like in every crappy hollywood movie)and let his daughter hook up with Omar (no, he "sold him" to the cops with hope that they will lock him up for a long time)
All loose ends gets binded.
Oh... the irony. the storyteller is dead in the end (A young kid shot from a close range by a 9mm - not a good prognosis at all).
The Officer (Dando) gets also shot, both Omar and Malik are actually unharmed.
None of us saw it coming.
Great film.