Ripley had a great mental strength.
She also was actively trying to figure out the best way of killing the Alien or surviving.
The fact she went to Mother and discovered the special order meant that they were able to come to the conclusion to get off the ship and blow it up.
There was luck involved sure, but it was also bad luck which got Brett killed.
So I'll say, because she was smart, resourceful, cool under pressure and was absolutely not going to give up.