Her pupils shrink because the muscles contract.
When a person opens their eyes in a brightly lit environment, the circular muscles of the iris contract in response to the increased light, causing the pupils to constrict (shrink) in size to limit the amount of light entering the eye.