Several factors can lead to the accumulation of triglycerides in the liver. These include a high-fat diet, obesity, insulin resistance, and excessive alcohol consumption. Genetic factors can also play a role. The liver synthesizes triglycerides from both dietary fats and excess carbohydrates through processes known as lipogenesis and esterification.