For ofttimes the Lord suffers His disciples either to do or to think somewhat amiss, that from their error He may take occasion to set forth a rule of piety; knowing that their fault harms not when the Master is present, while His doctrine edifies them not for the present only, but for the future.
Or, Ye know not what ye ask; as much as to say, I have called you to My right hand away from My left, and now you wilfully desire to be on My left. Hence perhaps they did this through the mother. For the devil betook him to his well-known tool the woman, that as he made prey of Adam by his wife, so ...he should sever these by their mother. But now that the salvation of all had proceeded from a woman, destruction could no longer enter in among the saints by a woman. Or He says, Ye know not what ye ask, seeing we ought not only to consider the glory to which we may attain, but how we may escape the ruin of sin. For so in secular war, he who is ever thinking of the plunder, hardly wins the fight; they should have asked, Give us the aid of Thy grace, that we may overcome all evil.
The Lord knew that they were able to follow His passion, but He puts the question to them that we may all hear, that no man can reign with Christ, unless he is conformed to Christ in His passion, for that which is precious is only to be purchased at a costly price. The Lord's passion we may call not only the persecution of the Gentiles, but all the hardships we go through in struggling against our sins.
Or, they say this not so much out of reliance on their own fortitude, as out of ignorance; for to the inexperienced the trial of suffering and death appears slight.
Source: Catena Aurea by Aquinas