Simple astronomical telescopes produce inverted images because the objective lens forms a real inverted image, and the eyepiece doesn't correct this orientation. This is why terrestrial telescopes require erecting lenses or prisms to show upright images.