The troposphere is the region where the visible clouds are to be found. The stratosphere is a region where the atmosphere warms. On Earth, the stratosphere warms because of the presence of ozone. The mesosphere is a static region, a region of balance between incoming and outgoing energy. The thermosphere is the other region of the atmosphere where the air warms.
The layers or regions are present because of the temperature structure of the atmosphere. The temperature structure plays an important role in where the clouds are to be found.