Madrona was probably terraformed by an advanced alien race about 900 years ago. It was likely also the same race who created the Touchstone, a unique device which artificially controls and maintains the weather. Without the Touchstone, the violent climate would destroy the planet. A very simple race inhabits Madrona now, relying on the Touchstone to maintain the weather and protect their civilization.
Episode Reference: Touchstone