Layla - Zahra Kazemi death was terrible and also happened quickly during a time of protests in Iran.

As for Hoodfar - she is a tri citizen and had multiple countries asserting pressure trying to get her release.  We also had the benefit of time.

Kazemi died in prison from her treatment in less than a month.  It is entirely possible that if her she hadn't been killed then we could have secured her release.