It's just one of the things autoflower plants can do, outside usually but indoors sometimes. They can be temperamental to environmental uncertainties that sends them into flower early. During the summer I have hot days, cool nights (probably 30º+ temp swings from radiant sun heat to nighttime) and RH from 50-85%. They seem to be easily triggered to flower in my backyard.