It contributes to antibacterial resistance, which is a shared good. It's a case of the tragedy of the commons, which the free market is incapable of moderating on its own. This is exactly the kind of thing the government should be doing.
Everyone saw the writing on the wall that a ban was coming.
If I'm never told that antibacterial soap can harm the environment, then I might just show up at the store, see that one seems to be "better" and grab that one.
And I shouldn't have to spend an hour researching every item I find on my grocery store shelf. If we've done enough studies on an ingredient to know it's harmful, I'd rather there just be a law to not allow that ingredient.