They are attracted to the nectar on the outside of a peony bud. You will usually see them before the flower blooms.