Does your daughter display any signs of poor vision? Does she point to pictures in books, follow interesting objects, etc? Has she had her vision tested (usually done at the pediatrician)? Kids do all sorts of funny things and most are no cause for alarm - but they do need to be evaluated. First of all, are her eyes straight? Does one seem to wander to the side when she is tired? Do her eyes cross? These are signs of muscular imbalance in the eyes, called "strabismus" , and if you see these signs, you should take her to a pediatric ophthalmologist. This can be easily treated.
Also important: in pictures, does the pupil in both eyes (the center, black part of the eye) appear similar in both eyes? Often it is red on a flash photo, but is it equal on both sides? If one side appears white, this needs to be evaluated urgently. That could be a sign of a more serious problem.
Is her eye irritated or red? Surface irritation on the cornea can cause kids to close the irritated eye. Inflammation inside the eye can cause bright lights to be uncomfortable, so kids tend to close the affected eye.
Observe her for now - if she continues to do this, or complains that she does not see well, take her to a pediatric ophthalmologist. I hope this helps!
Please note that this forum is for general advice only - it is not a substitute for an eye exam by a licensed professional. It is not possible to accurately diagnose or treat any medical condition without a complete history and exam.