"And there will appear to them from Allah what they had not expected," meaning: they had not expected that they would be resurrected and punished.