Lactose intolerance is primarily caused by a deficiency of lactase, an enzyme produced by the enterocytes in the small intestine. Lactase is responsible for breaking down lactose into glucose and galactose, which can then be absorbed into the bloodstream. When lactase production decreases, lactose remains undigested and unabsorbed, leading to symptoms of intolerance.