Kernel initialisation failure in DietPi on Pi Zero 2 W

As the heading suggests, I tried running DietPi on RPi Zero 2 W but couldn’t get past the rainbow square. The power, card, everything was OK. Chat-GPT and Gemini both failed to give any conclusive answer. Later I flashed Raspberry Pi OS Lite and it all worked out fine. Has anyone come across this issue in the past ? If so, were you able to fix it and if yes then how?