Ok now
How many danios in the tank? Because they need at least 5 to keep their aggression down.
Males are slim when comparied to females, so is it a male of female?
anyway if its a male he is just going throught the pecking order as it were and trying to be boss, if however its a female she will become eggbound soon and this is her way of saying I'm not ready yet keep away
HTH