In this expression the 'balls' are the 'testicles', and it is an ordinary way of expressing that something or someone causes us annoyance. See break, embolar, egg pain.
* Only one "like" per meaning and day, the more "likes" the meaning will appear higher in the list