Children are at a higher risk of acquiring toxocariasis due to their frequent contact with soil and their tendency to put their hands or objects in their mouths. The eggs of the Toxocara parasite are excreted in the feces of infected animals. These eggs can survive in the environment for months and contaminate soil, sand, and surfaces that children might come into contact with.