Because most of the light entering the pupil is absorbed by the tissues inside the eye, not reflecting enough light back to the eye of the viewer to allow them to see the actually transparent pupil but the dark coloured retina at the back of the eye's chamber.
Because you are seeing through the hole in the iris to the retina, which is black in order to be able to absorb light effectively.