Vitamin C is water-soluble and leaches out when peeled vegetables are washed. The peeling itself exposes the vitamin-rich flesh, and washing further washes away this water-soluble vitamin. This is why it's better to wash vegetables before peeling them.