My idea is that photons as waves interact with other waves changing direction and frequency. For example a high speed atom in a mirror cavity generates a photon moving tha same direction . This photon will be fired at a higher frequency. This frequency either changes space curvature or creates deviation in path. Any particle can be attributed a wave length according to de'Broglie. A particle with different properties like an electron has a higher frequency and creates a bigger distorsion of spacetime.

However there is a property that makes particles (or waves) travel slower although at the same frequency. That property can be have a formula that would be something like this:

m~f*k*(c-v), where k is a constant that can be arbitrarily chosen. Is this in fact the conventional mass property ?

Ps

de Broglie formula is m=h/(lambda*v)