Thatch is primarily caused by the accumulation of dead grass, roots, and debris that build up faster than they can decompose.