Female moths, using their sensitive hearing, appear to key in on the distressed din and steer clear in order to lay their eggs on plants that will better feed their caterpillars after hatching ...
as in the case of the Codling moth of the apple, passes the winter in the cocoon, and produces the moth the following spring, in time to lay the eggs on the grapes while they are forming.