This refers to the way that the people who were walking by Jesus were mocking him.
"were saying mocking things about Jesus among themselves"