At what stage did you see the male balls?
Also the catapillars end up there cause the butterflies drop there eggs in the bud and let it hatch there.
Catapillars turn into butterflies not the other way around.