as the sun rises and sets, the rays of the sun travel longer than at other times like day because the distance between us and the sun at rising time and setting farther than in daylight the color of light that is able to reach us is a color that has more light waves long ie red.this is why the sun looks red at that time.
Mantap
beyeh