Hmmm

Female NYPD officer ambushed and shot dead in the Bronx as she finished shift

Headline.
Tragic I know, but why state the gender? It may seem trivial but it’s important.

Police get attacked by people sometimes. Many police are female.
We already can work out she’s female by the word “she”, specifically stating “female police officer” just looks like you’re trying to highlight it as odd, abnormal and gives ammunition to those who insist that female police are more in danger or can’t do the job. The gender is never mentioned when the police officer who gets shot is male. Which happened only a few days ago by the way.
Anyone can get shot. Female police aren’t demanding special protection.