Why does she have to pay the legal fees incurred by the defendants because she tried to extort money? Is that what you're asking? She has to pay because she lost, and they weren't doing anything wrong.
Correction: when you sue someone and lose, that does not necessarily mean you were extorting them. In fact, it almost necessarily precludes extortion, since extortion is the act of threatening to reveal a damaging secret unless you are conpensated. It also doesn't necessarily mean that the defendants did nothing wrong, as in the example of failed lawsuits against the NSA.
Are you saying that because she lost that implies that she was engaging in extortion?