Iblees was a Jinn not Angel
Let’s discuss from the Quranic point of view:
And [mention] when We said to the angels, “Prostrate to Adam,” and they prostrated, except for Iblees. He was of the jinn and departed from the command of his Lord. Then will you take him and his descendants as allies other than Me while they are enemies to you? Wretched it is for the wrongdoers as an exchange.
Surah: AL-KAHF Ayat: 50
He was a great worshiper of Allah, so he was raised up to the level that he was allowed to worship along with the angels. But later on when he was commanded to prostrate before Adam AS he was arrogant and refused to follow Allah’s(swt) command and thus was converted to Shaitan (the accursed one).
Iblees was one of the jinn (not angel).
Angels are created from light, jinns from smokeless fire and human from clay/mud.
And He created the jinn from a smokeless flame of fire.
Surah: AR-RAHMAN Ayat: 15
He[Iblees] said, “I am better than him. You created me from fire and created him from clay.”
Surah: SAD Ayat: 76 & Surah: AL-A’RAF Ayat: 12
Jinns were created before mankind
And We did certainly create man out of clay from an altered black mud. And the jinn We created before from scorching fire.
Surah: Al-Hijr Ayat: 26-27
An angel can not disobey Allah and are not arrogant.
And to Allah prostrates whatever is in the heavens and whatever is on the earth of creatures, and the angels [as well], and they are not arrogant.
They fear their Lord above them, and they do what they are commanded.
Surah: AN-NAHL Ayat: 49-50