Plasma Beta Stratification in the Solar Atmosphere: A Possible Explanation for the Penumbra Formation