Mainly a question of genetics, but stress can also have an impact. Light, heat, wind, and salt stress. There are also additives like bud factor X with chitosan, which promotes a positive stress response in this case; I had significantly more pistils in a comparison, so much that one plant lost so many during drying that in the end, a full tobacco pack of hairs came out, it was really abnormal.