In the winter, when your home is hotter than the cold outside, the warm inside air excites the molecules of the inside surfaces of walls, ceilings, and floors.
The excited surface molecules transfer some of their "excitement" to the molecules next to them that are further towards the outside where it is colder.
This process continues as the heat energy escapes, even to the point where it warms the outside air a little.