This drawing shows how forming planets drew gas to themselves.
Click on image for full size
Image from: The New Solar System
How a proto-planet sweeps up nearby material
As shown in this picture, while they were forming in the solar nebula, the nucleii of the planets-to-be (called protoplanets) drew material to themselves from the cloud of gas and dust around them. The bigger protoplanets were able to attract even more gaseous material unto themselves.
Big protoplanets such as Uranus and Neptune were positioned far out in the original nebula where there was less gas, and so these protoplanets were not able to sweep up as much gas as other giant planets.
You might also be interested in:

The position of the planets in the solar nebula greatly affected their 1. size and 2. composition. This is because of the effect of how cold it was in the nebula. 1. The nebula was a lot warmer close to
...more
Besides methane, Uranus' atmosphere contains even more complex molecules such as ethane gas. (These gases are similar to the exhaust gases that come out of cars on earth). These molecules form layers of
...more
The mesosphere of Uranus is a region of balance between warming and cooling. That essentially means that nothing happens there. Except for diffusion, the atmosphere is still. Upper reaches of the atmosphere,
...more
As on Earth, the atmosphere of Uranus consists of a troposphere, stratosphere, mesosphere, and thermosphere. The troposphere is the region where the visible clouds are to be found. The stratosphere, as
...more
On Uranus, as on Jupiter, the winds in the belts and zones blow first in one direction, then in the opposite direction. Wind blows east in a belt, and west in a zone. The clouds rise up in a belt, and
...more
The clouds on Uranus, like Jupiter, are divided into belts and zones. On Uranus the belts and zones are hard to find. The left picture shows the north pole of Uranus. In this picture only the smog of
...more
The clouds of Uranus, composed of methane crystals, are found very low in the atmosphere, and are difficult to see below the smog haze s of the planet. False color is used, in the image of Uranus to the
...more