that was because there came to them their messengers with clear but they rejected them so allah called them to account for he is full of strength strict in punishment.
ذلك بأنهم كانت تأتيهم رسلهم بالبينات فكفروا فأخذهم الله إنه قوي شديد العقاب