this is because they remained opposed to allah and his noble messenger and whoever remains opposed to allah – then indeed allahs punishment is severe.
ذلك بأنهم شاقوا الله ورسوله ومن يشاق الله فإن الله شديد العقاب