Certified GKH Gardening Expert
Indoors, this can be attributed to a lack of light. If this started happening before you brought them in, then it could be trying to flower. If this started after, then it is just a response to less light. It could still try to flower, though. This is a common response, for these plants, to many forms of stress.
Here are some articles that will help: