If there are a lot of windows in your bedroom, the heat from the sun during the day will create a greenhouse effect. As the sun shines in it warms the air in your bedroom, as the warm air is now trapped inside the room will retain the heat throughout the evening and the night making it overly warm.