Are they auto flowering? I don't know why they flowered but that doesn't matter too much right now. Just make sure they keep flowering. You could get some supplemental lighting to bring them indoors if you need to. 12/12 is the key right now. That's not enough energy to produce the flowers where you got it right now. The plant stores the energy then releases it at night or in the dark to produce the herbage. You might want to get some fluorescent tub fixture to hang above her. I guess you went through a light change the moved the position of the sun on your balcony.