Atomic mass
The atomic mass or relative isotopic mass refers to the mass of a single particle, and therefore is tied to a certain specific isotope of an element. The dimensionless standard atomic weight instead refers to the average (mathematical mean) of atomic mass values of a typical naturally-occurring mixture of isotopes for a sample of an element. Atomic mass values are thus commonly reported to many more significant figures than atomic weights. Standard atomic weight is related to atomic mass by the abundance ranking of isotopes for each element. It is usually "about" the same value as the atomic mass of the most abundant isotope, other than what looks like (but is not actually) a rounding difference.
Mass
In bound systems, the binding energy must often be subtracted from the mass of the unbound system, because binding energy commonly leaves the system at the time it is bound. The mass of the system changes in this process merely because the system was not closed during the binding process, so the energy escaped. For example, the binding energy of atomic nuclei is often lost in the form of gamma rays when the nuclei are formed, leaving nuclides which have less mass than the free particles (nucleons) of which they are composed.