But "Mark" (author) doesn't say that. What he says is:
A certain Barabbas was just a prisoner among the rioters; they had committed murder in the riot.'
During the riot, the insurgents committed murders, but neither Jesus called Christ nor Jesus Bar-Abbas got their hands dirty.
I can understand the need to exculpate Jesus, but why Barabbas too?