How ChatGPT Decides Which Brands to Recommend