Stars appear to twinkle because of the earth's atmosphere.