Investigating the Origins of Dark Matter Halo Density Profiles