Planets of Milky Way's most common stars are less habitable than thought, dead NASA telescope reveals

"...UV radiation ... can ... include stripping away a planet's atmosphere..."

The flare the UV light coincides with would certainly strip away atmospheres,
but how would the fact it is UV frequency make it more likely to strip away atmosphere than any other frequency?
Does breaking down atmospheric molecules make them more subject to stellar 'winds'?