Streaks on glasses are caused by limescale buildup. They form when water droplets dry on the glass surface after washing. Although dishwashers use a rinse aid to prevent this, it doesn't always work.