Don't be too confident about that. Conservation of energy is very important in physics, and it can play some strange tricks. For example, when a photon climbs out of a gravitational well we say it's redshifted. But it hasn't actually lost any energy. There's a scale-change instead. People don't always understand this, but it's easy enough when you see it. Suppose we're both time-dilated: I punch you in the stomach, and you go oof. If we then move to an environment where we're not time-dilated, then the same punch is a slow-motion punch. It doesn't bother you at all, even though it's the same punch delivering the same energy. Because the punch didn't change, you did.
Yes photons don’t lose energy.
Time ticks slower and distance stretching more the deeper inside a gravitionel photons are created.
All processes take more time in a slower environment, - also matters interaction with space.
It takes a loooong second to walk a loooong meter.
This is why time some places ticks slower.
A loooong meter is a result of stretching space, and hence a result of gravity.
Hence also EM-frequencies are slower the deeper inside a gravitational field a process takes place, and the EM frequencies are created.
This mean gravitational redshift is not a result of motion, but a result of the environment where the photon was created.
When we in a weaker gravitational field can observe the spectra coming from a strong gravitational field now is redshifted, - it is only because we compare the spectra with a different (shorter)
time –
distance reality. (less stretched reality)
The reason why lights bends near a heavy object is that it follows the stretch tension of space.
When such tension bends (as it most of the time does) the path of photons also does so.
A photon is part of that “stretch tension.” – Photons can be compared to waves of the ocean. – The ocean and the wave are one; - there cannot be any friction of resistance.
Opposite a fish can be compared to an elementary particle, the fish moves
through the water, and thereby it interacts with the ocean.