All the other knights gazed in astonishment , for he had almost gained the summit , and in another moment he would have reached the apple-tree ; but of a sudden a huge eagle rose up and spread its mighty wings , hitting as it did so the knight 's horse in the eye .