John says that Passover was near and Jesus 'went up to Jerusalem.' The movement is both geographical and religious: Jerusalem stands in the Judean hills and the Temple was the focal point of Passover pilgrimage.
The festival setting immediately frames Jesus' actions in the Temple.