Many elements gave non-integral atomic masses because

their isotopes have non-integral masses

The constituents neutrons, protons and electrons combine to give fractional masses

Their isotopes have different masses

They have isotopes