A woman executed her former friend in Chula Vista because she believed the victim had caused her boyfriend to be fatally shot by police, a prosecutor said Wednesday, while a defense attorney argued the victim was actually shot to death by gang members who set her client up to take the fall.