Then what was done at his crucifixion is narrated. And first, his being given drink is set forth; second, the crucifixion; third, other things that were done. And concerning the first, first what was offered is set forth; second, how he responded to what was offered. He says therefore "and they gave him wine to drink mingled with gall." They wanted all his senses to suffer: sight suffered through the spitting and sleeplessness, hearing through the blasphemies and mocking words, touch because he was scourged; therefore they wanted taste also to suffer. And what is said in Psalm 68:22 was fulfil...led: "and they gave me gall for my food, and in my thirst they gave me vinegar to drink": and Jeremiah 2:21: "how art thou turned into degenerate plants, O strange vineyard?" But there is a question: because in Mark 15:23, it says they gave him wine mingled with myrrh. It should be said that myrrh is very bitter, and wine mixed with gall is bitter. But the custom is to name everything bitter under the species of gall. Hence in truth the wine was mixed with myrrh, but it is called gall on account of its likeness. And by this it was signified that he bore the bitterness of our sins. Then how he responded is set forth, for "when he had tasted, he would not drink." But what is it that Mark says, that he received it, while here it says that he tasted? It can be said that he did not receive it except to taste it. And this signifies that he tasted death: for because he rose quickly, he was scarcely seen to be dead, because he was free among the dead, Psalm 87:6.
Source: Commentary on Matthew