Why the sky is blue during fair day an red during sunset?

Sky is blue when in a fair day because the suns rays travel directly to the atmosphere when the sun is at its highest point while in sunset the horizon is color read(orange) because the sunds rays bounces in the atmosphere making the color red.