In an electron cloud, an electron that is farther away from the nucleus has a higher energy than an electron near the nucleus. Since these electrons are from the nucleus, then they are not stable and contains a lot of energy as they are moving very fast in order to achieve stability