Why did Iblis say he was better than the one that Allah created out of clay?


Because Allah created him out of fire.

I [Iblis] am better than him. Thou createdst me of fire, whilst him Thou didst create of clay. Quran 38:76