The answer to this question has many facets. First, there is no doubt the religious leaders of Israel were responsible for Jesus’ death. Matthew 26:3–4 tells us that “the chief priests and the elders of the people assembled in the palace of the high priest, whose name was Caiaphas, and they schemed to arrest Jesus secretly and kill him.” The Jewish leaders demanded of the Romans that Jesus be put to death (Matthew 27:22–25). They couldn’t continue to allow Him to work signs and wonders because it threatened their position and place in the religious society they dominated (John 11:47–50), so “they plotted to take his life” (John 11:53).
The Romans were the ones who actually crucified Him (Matthew 27:27–37). Crucifixion was a Roman method of execution, authorized and carried out by the Romans under the authority of Pontius Pilate, the Roman governor who sentenced Jesus. Roman soldiers drove the nails into His hands and feet, Roman troops erected the cross, and a Roman solider pierced His side (Matthew 27:27–35).
The people of Israel were also complicit in the death of Jesus. They were the ones who shouted, “Crucify him! Crucify him!” as He stood on trial before Pilate (Luke 23:21). They also cried for the thief Barabbas to be released instead of Jesus (Matthew 27:21). Peter confirmed this in Acts 2:22–23 when he told the men of Israel, “You, with the help of wicked men, put him to death by nailing him to the cross.” In fact, the murder of Jesus was a conspiracy involving Rome, Herod, the Jewish leaders, and the people of Israel, a diverse group of people who never worked together on anything before or since, but who came together this one time to plot and carry out the unthinkable: the murder of the Son of God.
While God did not literally kill Jesus, God allowed Him to be put to death by the hands of the Jews and Romans. Acts 2:23 emphasizes God’s sovereign knowledge as He allowed people to brutally and unlawfully murder His Son: “This man was handed over to you by God’s deliberate plan and foreknowledge; and you, with the help of wicked men, put him to death by nailing him to the cross” (emphasis added). While God did not stop people from physically killing Jesus, He also did not allow death to have the final say: “But God raised him from the dead, freeing him from the agony of death, because it was impossible for death to keep its hold on him” (Acts 2:24). Christ’s death and resurrection was part of God’s perfect plan to eternally redeem all who would believe in Him. "God made him who had no sin to be sin for us, so that in him we might become the righteousness of God" (2 Corinthians 5:21). Jesus’ sacrificial death on the cross provides salvation for all who trust in Him.
All who have come to Christ in faith are guilty of His blood, shed on the cross for us. He died to pay the penalty for our sins (Romans 5:8; 6:23). In the movie The Passion of the Christ, the director, Mel Gibson, was the one whose hands you see actually driving the nails through Christ’s hands. He did it that way to remind himself, and everyone else, that it was our sins that nailed Jesus to the cross.