I can buy that it's an example of market failure, but I'm not sure about the second part. According to the idealized free-market theory, this sort of stuff should be taken care of by the market just fine, by people changing the channel away from the objectionable ones, thus commercially penalizing them to the point where running quieter ads becomes the right business decision. That doesn't appear to have happened, probably because while people dislike loud TV ads enough to write to the FCC, they don't dislike them enough to actually meaningfully change their TV-watching habits (so channels with quieter ads don't really gain a commercial advantage).