Chow_13answered grow question 3y ago Its not bugs and gnats eat fungus in damp soils and if hungry enough with no fungus left they might move onto roots,
It is a nutrient issue. Looks to me like a lack of nitrogen, As for treatment, All I can say is increase your nitrogen slightly. your want your NPK in the ratio of 1 : 2 : 3. If it is then possibly go to 1.2 : 2 : 3.
To much nitrogen in flower will promote leaf growth which causes leafy buds. But you still need some for proper growth.