Why did Eve ate the apple?

I dont understand? why would God tell the angels to bow down and the Jin would get mad when the Jinns were not told to Bow down? So considering that i think he was an Angel