On a local basis I can go to two of the same store a few miles apart and one will out of products X, Y, and Z, but the other store may be out of X, T, and R. Localized buying trends can have significant differences.
Also, there may be many other effects here. For example, if a popular product is actually popular and the pipeline to make the product is months long, well there's going to be outages. Shifting production generally isn't easy and trends pass quickly.
In addition, perceived popularity can be used to manipulate consumer pricing. "X is always out. Oh look X is in stock now, I should buy it for 50% more"