so many factors.. optimally, your light is well-sized for the area you try to cover and therefor just let geometry dictate best height... based on evenness of coverage without sacrificing too much of course. weighted average of light intensity should not suffer too much to improve corners/edges etc...
like others said, there's genetic variety.. but you can assess how much light you give by the length of internodes... the distance between 2 growth nodes is directly impacted by the intensity of light provided over time... if tightly packed, you probably gave too much lihgt. if it is short with normal spacing you can assume it's just genetics + resulting growth rate your environment provides.
So, if the nodes are not stacked on top of each other, your light did not cause the short-statured plants. Which does not look to be the case from pictures that are a bit too small to see for certainty.
So, some other factors ar at play... thos elook to be 50-100w quantum boards? so, the 100w can definitely grow an autoflower out properly, a 50-w might end up with some unrealized growth left on the table. The fertilizer you use and how you fed could impact rate of growth too.
autoflowers and silly stuff like solo cup grows quickly show how far off from optimal our choices and beliefs are... e.g. anything less than 30-50g from a solo cup is a solid correlation to poor feeding practices and unwillingness to accept that we might be wrong about a few things lol.
anyway, make sure you are providing enough DLI.. use the specs from you rlight, assuming they didn't lie their asses off on the metrics.