A bit off-topic: how did the people go from being adoring (as described in Matthew 21: spreading their coats on the ground when Jesus rode into Jerusalem on a donkey and calling out "Blessed is He Who comes in the name of the Lord!") to calling for his crucifixion?
Also, did the crowd have much of an effect on what transpired? Wasn't Jesus' execution a self-serving political maneuver on the part of those who felt threatened by Jesus? Wasn't it decided by the Sanhedrin court?
Then the high priest tore his robes and said, "He has blasphemed! What further need have we of witnesses? You have now heard the blasphemy; what is your opinion?" They said in reply, "He deserves to die!" (Matthew 26:65-66)
Jesus denied being a political threat by telling the Sanhedrin court "My kingdom is not of this world." In an apparent attempt to minimize the impression of being a threat, he had chosen a humble donkey to ride on into Jerusalem.
Pilate said Jesus had done nothing deserving of death, and wanted to release him. However, the chief priests stirred up the crowds to call for Jesus's crucification:
Mark 15
6 At the festival it was Pilate's custom to release for the people a prisoner they requested. 7 There was one named Barabbas, who was in prison with rebels who had committed murder during the rebellion. 8 The crowd came up and began to ask [Pilate] to do for them as was his custom. 9 So Pilate answered them, "Do you want me to release the King of the Jews for you?" 10 For he knew it was because of envy that the chief priests had handed Him over. 11 But the chief priests stirred up the crowd so that he would release Barabbas to them instead.
12 Pilate asked them again, "Then what do you want me to do with the One you call the King of the Jews?"
13 Again they shouted, "Crucify Him!"
14 Then Pilate said to them, "Why? What has He done wrong?"
But they shouted, "Crucify Him!" all the more.
15 Then, willing to gratify the crowd, Pilate released Barabbas to them. And after having Jesus flogged, he handed Him over to be crucified.
John 18
After he had said this, he [Pilate] went out to the Jews again and told them, "I find no grounds for charging Him. 39 You have a custom that I release one [prisoner] to you at the Passover. So, do you want me to release to you the King of the Jews?"
40 They shouted back, "Not this man, but Barabbas!" Now Barabbas was a revolutionary....
Continuing on to John 19
...1 Then Pilate took Jesus and had Him flogged. 2 The soldiers also twisted together a crown of thorns, put it on His head, and threw a purple robe around Him. 3 And they repeatedly came up to Him and said, "Hail, King of the Jews!" and were slapping His face.
4 Pilate went outside again and said to them, "Look, I'm bringing Him outside to you to let you know I find no grounds for charging Him."
5 Then Jesus came out wearing the crown of thorns and the purple robe. Pilate said to them, "Here is the man!"
6 When the chief priests and the temple police saw Him, they shouted, "Crucify! Crucify!"
Pilate responded, "Take Him and crucify Him yourselves, for I find no grounds for charging Him."
7 "We have a law," the Jews replied to him, "and according to that law He must die, because He made Himself the Son of God."
8 When Pilate heard this statement, he was more afraid than ever. 9 He went back into the headquarters and asked Jesus, "Where are You from?" But Jesus did not give him an answer. 10 So Pilate said to Him, "You're not talking to me? Don't You know that I have the authority to release You and the authority to crucify You?"
11 "You would have no authority over Me at all," Jesus answered him, "if it hadn't been given you from above. This is why the one who handed Me over to you has the greater sin."
12 From that moment Pilate made every effort to release Him. But the Jews shouted, "If you release this man, you are not Caesar's friend. Anyone who makes himself a king opposes Caesar!"
13 When Pilate heard these words, he brought Jesus outside. He sat down on the judge's bench in a place called the Stone Pavement (but in Hebrew Gabbatha). 14 It was the preparation day for the Passover, and it was about six in the morning. Then he told the Jews, "Here is your king!"
15 But they shouted, "Take Him away! Take Him away! Crucify Him!"
Pilate said to them, "Should I crucify your king?"
"We have no king but Caesar!" the chief priests answered.
16 So then, because of them, he handed Him over to be crucified.