After, however, saying what was sorrowful, He adds what ought to rejoice them; wherefore it goes on: And after that he is killed, he shall rise the third day; in order that we may learn that joys come on after struggles. There follows: But they understood not that saying, and were afraid to ask him.
Source: Catena Aurea by Aquinas