This was to fulfill the word that Jesus had spoken indicating (sēmainōn | σημαίνων | pres act ptcp nom sg masc) what kind of death he was going to die.
Reference
John 18:32
Sequence
2