It seems like your plant is becoming a hermaphrodite.
But to be absolutely sure, observe the plant for another day or two:
- If the "balls" open up and start to look like tiny bananas or flower-like sacs - definitely male.
- If white hairs (pistils) continue to appear alongside them - hermaphrodite confirmed.