As much hate as H1Bs get, I’ve worked at two large companies where the publicly posted salary range for H1B applications were consistently higher than my own. In all humility, I was more qualified and more experienced than required by the position.
Maybe there is a dearth of talent, maybe it’s about control, maybe is someone trying to get a friend hired. I don’t think it’s about the money.