High-energy astrophysics

Why are most astronomical gamma-ray observatories placed in space rather than on the ground?