Dhu al-Majaz and Ukaz were the trading markets of the people during the era of ignorance. When Islam came, it was as if they disliked engaging in that trade, until the verse was revealed, "There is no blame upon you for seeking bounty from your Lord" [Baqarah 2:198], referring to the seasons of Hajj.
حدثنا عثمان بن الهيثم أخبرنا ابن جريج قال عمرو بن دينار قال
كان ذو المجاز وعكاظ متجر الناس في الجاهلية فلما جاء الإسلام كأنهم كرهوا ذلك حتى نزلت {ليس عليكم جناح أن تبتغوا فضلا من ربكم} في مواسم الحج