When people are preparing their own baby food at home, a question that I hear often is, "Should I peel the fruit or vegetable before preparing it and serving it to my child?" And the answer is that it depends. So, a fruit like a pear or an apple, about 90-95% of the nutritional value is in the skin alone or just under it, so when you peel it, you're actually losing a lot of the benefits that your child will have by eating the skin.
So, if you can prepare an apple or a pear with the skin on and serve it immediately, that's much, much better. They'll receive a lot more nutrients from the skin. Something like a carrot, the skin of a carrot, or even the skin of beets, is a little bit difficult on a baby's digestive system.
So, babies, especially ones that have trouble with colic or digestion, you should go out of your way to make sure and peel these vegetables for them to aid in digestion. Hopefully that will clear up any sort of confusion that you may have about peeling fruits or vegetables.