In Chapter 12.10 B) of “Classical Eletrodynamics” of Jackson, it is said that
The two final criticisms of $T^{\alpha \beta}$ are that it involves the potentials explicitly, and so is not gauge invariant, and its trace ( $T^{\alpha}_{\alpha}$) is not zero, as required for zero mass photons.
Could someone explain me why the fact that the trace of the tensor have to be zero in order that the photons have zero mass?