A NASA probe recently spotted the dazzling Pan-STARRS comet as it hurtled through space against the backdrop of a distant galaxy.