Now you have me wondering what causes clouds to stop at a certain altitude?
if you are not meaning a CB hitting the troposhere (where the temperature starts to get warmer again)
and instead are refering to mid height clouds
then the answer is inversion layers (i.e it hits a layer of air above that is warmer)
often called capping
if the heating is strong enough then it can break through this cap
often anticyclones have inversion layers, i.e colder air trapped underneath the warming sinking air