Yes, because air conducts thermal energy different than wood, metal, glass, plastic, etc. Also, if it wasn't attached to anything, the thermal energy produced would be spread evenly throughout the air around it. When it's stuck to something, the majority of the thermal energy is transfered to that object (a tank, for example).