Angry over the fact that he was to be passed over in the transfer of rule of Samarkand, he revolted while Ulugh Beg was marching to retake Khorasan.
Because he was not chosen for the transfer of authority in Samarkand, he began a revolt while Ulugh Beg was on his way to reclaim Khorasan.