During the daytime the sun is out and shining which helps to warm the earth up.
During the night the sun has gone down and not shining so as a result of the sun not shining the earths temperature cools down and we have a lower temperature at night.
Also have you noticed on cloudy days with rain or just overcast days that those days are much cooler than they would be if it were sunny?
That's another reason.
The clouds are blocking out the sun and making the weather feel much cooler than it normally would when the sun would be shining.