STHs are primarily transmitted through ingestion of eggs from contaminated soil or food, or through direct skin contact with larvae in the soil. Poor sanitation, lack of clean water, and inadequate hygiene practices are primary contributors to the spread of these parasites.