the surrounding rock blocked the sun during the day , but it also absorbed its heat so that at night , when the temperature dropped , it was noticeably warmer in their snug little niche than it was outside .