Carpal tunnel syndrome can be influenced by various factors, including underlying medical conditions like hypothyroidism, diabetes, and rheumatoid arthritis. Heredity also plays a role, as some individuals have a smaller carpal tunnel by nature. Repetitive hand motions and prolonged flexion or extension of the hand and wrist can contribute to the onset of symptoms.