Inherited from Old French bren (“bran, excrement”), with metathesis (circa 1480s), having first had the meaning of "vanner le blé" or the scatological meaning of "fouiller d'excréments" present in Rabelais' writings. For semantic development, compare terms like shit talk.