this is because the worldly life was dearer to them than the hereafter and because allah does not guide such disbelieving people.
ذلك بأنهم استحبوا الحياة الدنيا على الآخرة وأن الله لا يهدي القوم الكافرين