This is because the most common isotope of sulfur, sulfur-32, has 16 protons and 16 neutrons.
The mass number is the total number of protons and neutrons in an atom's nucleus.