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

Planets orbiting red dwarf stars may have a harder time hanging on to the conditions needed for life to arise and survive than previously thought, data from NASA's dead space telescope GALEX reveals.

Planets of Milky Way's most common stars are less habitable than thought, dead NASA telescope reveals : Read more
"...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'?

Original thread: https://forums.space.com/threads/planets-of-milky-ways-most-common-stars-are-less-habitable-than-thought-dead-nasa-telescope-reveals.67606/