Pilate wanted to please the Jews. After that he released Barabbas for them, he gave Jesus to the soldiers, he told them to hit him with a whip and to nail him to a tree.