A homeschooled child recently visited an ailing great-grandparent who was complaining of a painful rash. Even though the child had had no contact with children suffering from chickenpox, the child developed chickenpox. How did the child contract the infection?