Tophi form when high levels of uric acid in the blood, a condition known as hyperuricemia, lead to the precipitation of urate crystals. These crystals accumulate over time, particularly when the body is unable to effectively excrete uric acid. Factors that can contribute to this condition include genetic predisposition, diet, and exposure to certain toxins.