In addition to the US having lower taxes and fewer services I think there’s some sort of status thing going on in Europe/the UK with engineer salaries being lower than they’d be otherwise.
Engineers there seem to be viewed as the lower rung on the status ladder compared to management/sales/finance and are paid less on that metric alone. I think the US (particularly Silicon Valley) is better about respecting engineer talent.