That's because a wild Shiny Legendary keeps its same high catch rate. But to negate this, a Shiny Legendary can't run away from trainers.