Crafting Knowledge: Exploring the Creative Mechanisms of Chat-Based Search Engines