Initially there were mathematical reasons why people suspected that all boson needed to have 0 mass as is the case for photons a gluons, see Goldstone's theorem.
However, experiments showed that the W boson and the Z boson both has large non-zero masses.
So people started theorizing some hack that would fix up the equations, and they came up with the higgs mechanism.

Articles by others on the same topic (1)

See all articles in the same topic