A stranger stopped and helped when a girl was caught in a vulnerable moment