According to (my best understanding of) mass-energy equivalence, an objects mass is related to and created from its energy, and anything with energy has mass. For what reason are photons omitted from this principle, allowing them to be both massless and be composed of energy?