How does a dielectric alter the electric field?
The end is the net result.  The blue and red dots in the middle of the second diagram "cancel out", so to speak.  This results in the third diagram being an accurate model of the real physical situation in the second diagram.