The judge wants a bond to make sure everyone does what they're supposed to do. It helps people to be treated fairly. The person who is complaining puts up the bond.