She was trying to drive away. There was no attack by this woman. The only attack was by the murderer.
The only individual at any risk was put into that position by the violence perpetrated by the "agent" trying to force their way into her car.
The "agent" at risk, the shooter, had his weapon unnecessarily drawn and aimed at her face. The threat to his person passed once he cleared her vehicle, but he chose to shoot unrestrained and recklessly anyway.
She was leaving as they wanted. They got angry with her. She didn't comply, so they responded with violence.
The murderer accomplished no good with his actions. He did not save his own life or anyone else's because there was no danger once he cleared the path of the vehicle. There was nothing to defend.
She didn't have to die.
He did not have to murder her.