you can check her oil gland see if it’s yellow ish and oily . it’s on her back down around where the tail feathers start. if it’s malfunctioning then she may have wetfeather
i had one duck who did this a lot too, for a while. i thought she had wetfeather or something. it turned out she was fine but we decided she was doing it to either dry under her wings or also could be a nervous habit or even can be just to show off . but she stopped after a couple weeks.