Why don't x-rays, gamma rays, and most UV rays reach Earth's surface?

The atmosphere blocks or absorbs them.
They don't have enough energy to travel that far.
The wavelengths are too short to reach Earth.
They are destroyed when older stars collapse.