It is normal for babies at that age to make repetitive movements like rubbing their eyes without any clear reason. If you are concerned, you could film the child doing it and show it to your doctor during your next appointment. However, it is unlikely that the rubbing indicates discomfort in your child.