Bit more complicated it may have two differant but equally plausible answers I just did a quicky on google and found this and this

It seems they were all insults adopted by the respective party involved like the N word in america for black people