The second text uses travesty in its traditional sense: a ridiculous imitation; a parody.
Because the bank robbers were acquitted on a technicality, many people called the trial's outcome a travesty of justice.
The first text uses travesty in its nontraditional sense: a disappointment or a tragedy.
Although no one was injured in the bank robbery, the event was a travesty for the bank.
Most style guides recommend to use the traditional sense of the word travesty because it is considered more standard.
Which text uses the word travesty in its traditional sense?
A: Because the bank robbers were acquitted on a technicality, many people called the trial's outcome a travesty of justice.
B: Although no one was injured in the bank robbery, the event was a travesty for the bank.