S"A Principles

Question: I note that the S"A O"C 158:10 (Hand Washing) quotes the Gemara (R'Chisda) in support of using more than the minimum required amount of water for hand washing. Given the Mechaber's goal that the Shulchan Aruch be a halachic summary of his magnum opus, the Beit Yosef, does anyone know of a theory as to why the Mechaber in some cases quotes Talmudic sources (or Torah or Rishonim) and in others just states the halacha? Any study of the frequency of such quotes?
KT
Joel Rich

THIS MESSAGE IS INTENDED ONLY FOR THE USE OF THE
ADDRESSEE. IT MAY CONTAIN PRIVILEGED OR CONFIDENTIAL
INFORMATION THAT IS EXEMPT FROM DISCLOSURE. Dissemination,
distribution or copying of this message by anyone other than the addressee is
strictly prohibited. If you received this message in error, please notify us
immediately by replying: "Received in error" and delete the message.
Thank you.

Reb Joel asks:
does anyone know of a theory as to why the Mechaber in some cases quotes Talmudic sources (or Torah or Rishonim) and in others just states the halacha?

My theory is that when it is either a well known halacha and no reason to question it or at least, when the Mechaber thought it to be indisputable, then
it was felt there was no reason to quote sources. OTOH, if was felt that there would be many questioning it, then the sources quoted would obviate
that from occurring.