This is just a guess, but could they be taking advantage of the cool
air in your house.  If they are cooling off on the cool glass also
they are not heating up the hive and allowing more air circulation in
the hive. ???
Lucy