The elders and priests had already assembled and were prepared for this judgment. Peter followed because He loved Jesus, he had been following him for years. He distanced himself from Jesus; this is an interesting change in the behavior of a man who was quick to draw his sword earlier to protect him, Peter was no warrior. He was a fisherman. His sword swing cut a servant’s ear. It was likely clumsy. It was certainly not aimed to kill. So while we can consider his action a bold one, it was a flash of adrenaline, a nervous defense, for which Jesus rebuked him, and told him not to interfere. While Peter may be afraid here, He is also obeying Jesus. Christ would suffer to spare Peter, and all of mankind. Peter sits in the courtyard to see the outcome, though Jesus had already prophesied about what was to happen, it was important for Peter to witness that he could testify to it.
You have said so- I am the Christ, I am the Messiah, and from now you will witness my dominion, and the establishment of my kingdom. That was all the council needed to hear, regardless that it was Truth! Blasphemy is only the tool the used for putting Christ to death, it was not the reason. The reason was their envy, their hatred, their vanity, and their denial of the truth. Evil searches for safe havens to hide itself.
Jesus is subject to abuse and mockery, and would be delivered to death, by the hands of those He came to save. Peter witnessed this, and certainly feared that He would be next, hence He denies he knows Jesus three times, as Jesus predicted. Jesus was his Lord, his teacher, and his friend, and here he denies He knows him. The burden of his guilt caused him to weep bitterly. Are you prepared to admit you know Jesus?