They do it for both reasons. The hydrogens in the water molecules are good at absorbing neutrons. The control rods are also typically made of carbon, and will release x-rays, which the water is also fairly good at blocking. Not as good as gold, but who's got that kind of money.