There may be a difference in things like pill shape, texture, release mechanism / time to absorb (if it’s not very important for how the medication works)
So it’s ok to have a preference for one brand over the other when one of those points is relevant to your situation. I know some people also prefer the generic brand version over the regular (even if prices were the same)