For me, the most likely thing, as
@Ezzjaybruh says, is that there might be some light interrupting its dark cycle. You would need to be present at night and verify that; even the slightest light can interrupt your dark cycle and prevent it from flowering!