The crystal habit of gypsum is determined by the specific conditions as it precipitates from water such as temperature, rate of growth, and impurities present. This affects the basic molecular structure and expression of the crystals.