Again, there's probably something similar it eats so it wasn't a huge leap. The chemistry of plastic molecules is very similar to the chemistry of organic molecules. After all, plastic is made from oil which is made from trees (please don't meme me, I know it's an oversimplification).