Photons do have mass, it's just that scientists have not been able to measure it yet because it's so incredibly small. Also, explore the recent discovery that magnetism can steer photons.
https://phys.org/news/2025-11-magnetic-component-faraday-eff...