You can walk into any supermarket and compare generic brands to national brands and in many cases, they are the same product with wildly differing products. In some cases, the same plant makes the same products with differing labels.
CVS is a good case in point. You can read the ingredients of the products and they're the same. The branding is the only difference.