This was to fulfill the word that Jesus had spoken indicating what kind of death he was going to die (apothnēskein | ἀποθνῄσκειν | pres act inf ).
Reference
John 18:32
Sequence
44