There is always some moisture in the air, even if you cannot see it.
If the air gets colder, it cannot hold the moisture and tiny drops of water appear. This is condensation.
The problem tends to occur more in the winter when it is cooler and more water condenses on surfaces. Condensation also likes areas where air is still, this is often behind furniture such as wardrobes and sofas.
Prevention is better than the cure!