Because key limes are actually yellow and not green. Real key limes are light yellow when they are ripe. However, if you really want your key lime pie filling to be green, just add some food coloring. Either way, it will still be delicious.