Sometimes people will hate you just because of who you are. The soldiers didn't really have anything against Jesus. They were just doing their job. They went further, though, and mocked Jesus. I don't think it's necessarily because they thought he was a blasphemer or anything like that, I think they were just sick of Jews. They were away from their homes, their families, and everything they knew that was familiar. It probably was relieving for them to take out their frustrations on a Jew, this one just happened to be Jesus.
Sometimes people will hate me just because I'm a Christian, or white, or whatever, but I have to keep that in mind and know that I might be starting off already losing with some people. JM