I thought that he was poking at a tribble."Yup, that one's a goner, there's no danger anymore captain. "
I'm guessing it was just a photo taken in between takes. Or just something from some extra footage. It wasn't in an episode.
Starfleet is such an altruistic organization that they clean every planet they visit out of respect.