The goal is to eliminate trash in the environment. Thin plastic bags get discarded carelessly, then catch in the wind and get strewn around a wide area.
Plastic bag bans have been sufficiently successful that people have forgotten this was a problem.