Dynamics-dependent density distribution in active suspensions