I think since they were a flight of two that his wing man was the lead ship and therefore had transponder on and the accident aircraft transponder was in standby.
The obvious question is what happened that he had to get out so quick, though my understanding is the services that operate fast jets (in the US at least) frown upon people saving aircraft when “by the book” they were supposed to eject.
Flt Mech