In a previous question, I learned that in order to detect an object in space, what matters is how much electromagnetic radiation it is giving off, and what sources of EM radiation the sensor can pick up.
Given that the sensitivity of the sensor over the spectrum is a parameter for detectability, I would like to learn if some wavelengths of EM radiation are more difficult to detect than others, over increasingly longer distances in space.
From my experience in biology, I know that longer wavelengths of lights from a source can be "pierce" deeper into tissue than shorter wavelengths (a bit counter-intuitive!). In fact, that's the premise of "two-photon microscopy" -- using wavelengths of light with such low energy that fluorescent dyes need to absorb two low energy photons in order to be excited. So, the probability of that happening is lower, but there are many benefits, including the fact that longer wavelength light can penetrate deeper into tissue.
Does the physics behind such concerns at the microscale also affect detectability at astronomical scales? Is some EM radiation easier to detect than EM radiation with other energies? Can EM radiation of certain energies "travel" longer distances through imperfect, real space?