you do it. Where you position the bar on your shoulders, how the weight is distributed on your foot, if you bend more at the hips or at the knees, and even individual differences in anatomy can affect it quite a bit. Also how deep you go.
I guess that’s kinda true for deadlifts as well but deads are somewhat simpler so it’ll always be the glute/ham area mixed with the back in some proportion.