Why doesn't the planet Uranus explode if it contains so much hydrogen and methane?
The planet Uranus indeed contains a significant amount of hydrogen and methane, both highly flammable gases. However, the burning of methane or hydrogen requires oxygen. Simply put, there is no free oxygen on the planet Uranus. On earth, we are so immersed in oxygen that we tend to take it for granted. Many chemical reactions that require oxygen seem to just happen automatically on earth: metals rust, forests catch fire, and candles burn. We may be tempted to ignore oxygen's role in a chemical reaction since it seems to be always there. But oxygen is not always present. If I place metal in a jar containing only argon, it will not rust. If I place a lit candle in a jar with no oxygen, its flame will go out. There is an easy demonstration you can do at home to convince yourself of this fact. Get a bowl and fill it about a quarter full with baking soda and vinegar. The baking soda will react with the vinegar, releasing carbon dioxide gas that fills up the bowl and pushes the oxygen out. If you are careful to not disturb the bowl, then the carbon dioxide will stay in the bowl and keep the oxygen out since carbon dioxide is heavier than oxygen. Now, light a match and slowly move it into the bowl. The moment that the match hits the invisible oxygen-depleted pocket of carbon dioxide gas in the bowl, it will immediately go out. This simple demonstration makes the role of oxygen in combustion obvious.