In episode 6 of The Mandalorian (“The Prisoner”) we see a homing beacon being used on a New Republic prison ship. One of the characters — Mayfeld — states:
“It’s a tracking beacon. He presses that thing, we’re all done. A New Republic attack team will hone in on that signal and blow us all to hell.”
Okay that makes sense considering they are on the prison ship at that point in the story. But later on we see. that Din Djarin (aka: Mando) has placed that beacon in the pant's pocket of Qin — the prisoner that Din Djarin helped — and then shortly after the Razor Crest leaves the space station, a small group of X-Wings jump out of hyperspace and just destroy the whole space station; not just the source of the homing beacon in the dock.
The question is this:
If that beacon was intended to request help for the prison ship, why would the New Republic attack team attack and destroy that other target?
Is the implication that the once that homing beacon is activated, it’s simply a “self destruct” call to the space cavalry and allowing them to destroy the source of the beacon? Is this really the case? Additionally, if that homing beacon was related to he crew on the prison ship, why would the attack team follow it to some seemingly random space station and blow it to bits?
I realize The Mandalorian is a series in progress — and political aspects of the post Imperial world after the destruction of Death Star II are slowly being revealed — but the sheer casualness of how this happened makes me wonder if an explanation already exists in existing Star Wars related works.
Does any of this sound like behavior of Rebellion/New Republic fighter pilots to anyone? Doesn’t it seem particularly brutal for a group who are regarded as then “good guys” in the galaxy to just do something like that?
Looking for in-universe, canonical explanations; not armchair speculation and theories. If none (currently) exist, Legends explanation would suffice. Regardless, please provide references and context.