Dear student,
Each and every character of our body is determined by the genes present in our DNA. The presence, location and size of hairs in our body are also decided by the genomics. These characters are the descent of our ancestors. Variations in them occur due to the evolutionary processes but decided by our genome only.
Regards.