I'm thinking the stem got stressed or damaged and decided to be safe and send out roots or buds.

And I've had stressed plants start budding under 24 hr light. Maybe give them some valium or something to calm them down.