There can be no doubt that, during the last week, the Lord was anointed
on two separate occasions.
The latter is recorded in Matt. 26:7-13, and Mark 14:3-9, "two days before the Passover", in the house of Simon the leper, also in Bethany.
Thus the times and places distinct.
In the latter case it was an alabaster vessel (Matt. 26:7).
In the latter case it was His "head" (Matt. 26:7)
In the latter case the term is "poured" (Matt. 26:7. Mark 14:3)
In the latter it was the disciples who "had indignation" (Matt. 26:8)
"among themselves" (Mark 14:4); and their words (not necessarily spoken
aloud to all) seem to refer to what Judas had said before.
In the latter He declared that it had been kept for that purpose
(Matt. 26:12. Mark 14:8)
In the latter He declared that she had well used it (Matt. 26:10-13).
In the latter case the woman is unnamed.
Instead of wondering that there should be two anointings the wonder
should be that there were only two, seeing that examples are so
easily followed.