The more sophisticated an instrument is, the more easily it is affected by the environment. The electronic components of a computer are exposed to Earth's magnetic field, cosmic rays, etc., causing potential state changes, where "0" turns into "1" or "1" into "0", known as "bit flipping". Quantum computers, being more sophisticated, are also more fragile, with even background thermal radiation potentially affecting the computation process.
In space, "bit flipping" and "waste heat" become even more serious issues. Earth's powerful magnetic field and thick atmosphere can intercept most of the high-energy particles simply due to its mass. Its great mass also allows waste heat to diffuse evenly into the entire background environment, preventing severe temperature spikes.