The stranger is clearly making fun of D'Artagnan's horse, because of the way his friends are laughing in response. When D'Artagnan hears the stranger call his horse a buttercup, referring to the odd coloring of the horse, he lashes out and starts a fight with the stranger.