As
@Chow_13 says, without a diary, we can't tell you what might have gone wrong... and unlike Eggyones said, autoflowers are NOT dependent on light to flip to flower... they can, if not terribly productively, at least GROW under 12/12 so the lighting is not the issue at all. Would really like to have had a diary to look at ALL the conditions around this during the whole grow... sad.
Good luck