You will simply need to avoid touching them.
But you also need to talk to the ghosts in the middle of the screen.