THE PHYSICAL NATURE OF THE COSMIC ACCRETION OF BARYONS AND DARK MATTER INTO HALOS AND THEIR GALAXIES