Angels are NOT robots, like us they have free will.
But being beings of superior intelect to ours they were given the choice and once made, they cannot change, just like OUR choice cannot change once we die.
It is SEALED for all eternity.
Some chose to serve GOD others rejected Him and together with lucifer were cast out of Heaven.
The angels where put into existence I the relm of the eternal, so we do it wrong to attempt to think they where created from a linear mind. In truth we can not fully comprehend it until we pass away.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.