He was always a condescending prick who thinks he's smarter than everyone else.
>But whoever denies Me before men, I will also deny him before My Father in heaven. Do not assume that I have come to bring peace to the earth; I have not come to bring peace, but a sword.
Because Peter cut off the guards ear.
"Let those with ears to hear hear"
There's a bigger meaning to it, and it doesn't change the fact Jesus told them to buy a sword.