Because those websites use Alibaba’s advertising code, and both Alibaba and Taobao are owned by Alibaba.
It is obtained by identifying and recording the user's search behavior through cookies, and then summarizing and matching through data analysis and machine learning in the background.
It is the so-called big data