Because the energy involved in nuclear forces holding nuclei together are so large they affect the net mass of the nucleus
The underlying reason is Einstein's famous $E = mc^2$.
The forces that hold nuclei together are very strong, as they have to be to stop charged protons from flying apart because of their electrostatic repulsion. And those really strong nuclear forces involve a lot of energy, which has to come from somewhere.
When multiple protons and neutrons are combined into a stable nucleus (which is stable because the binding forces are strong enough to outweigh the electrostatic repulsion) the result has a much lower energy than the isolated protons and neutrons. And this can be a lot of energy (enough to make a star shine brightly or to create an enormously destructive fusion bomb).
That energy, using Einstein's famous equation, constitutes a significant proportion of the mass of the resulting nucleus so a combination of neutrons and protons into a stable nucleus will have less mass than the sum of the masses of isolated protons and neutrons. In the case you calculate that difference is a little under 1% of the isolated masses of protons and neutrons in the Rb nucleus.
The exact mass defect depends on the specific nucleus which complicates things for chemists who tend to reference atomic masses versus specific isotopes where it is easy to measure (once $\ce{^16O}$, more recently $\ce{^12C}$). But, if you understand the principle, the non-integer masses of isotopes is easy to understand.
And that history of how chemists measure relative nuclear mass also explains why the mass of isolated nuclei are not exact integers (they are measured relative to a specific isotope which has a lower mass than the sum of its isolated components).