You're touching on a different problem, though one that emerges in international contexts. It's also evident at national levels where higher education is subsidised regionally, but employment is flexible at a national scale.
Namely: regions which support low-cost education tend not to see its benefits if they also have a low-wage or low-tech economic base. Such states are simply subsidising brain drain to more affluent regions.
This is one (of several) reasons why improved education is far less effective at increasing economic productivity than is commonly thought. (For more on this I highly recommend Ha-Joon Chang's 21 Things They Don't Tell You About Capitalism, which has an excellent chapter on the topic.)
This turns up in India (particularly in technology), the Philippines (medicine), Eastern Europe / former Warsaw bloc (science, mathematics, computer programming), and in the US. For the latter, the University of Illinois Urbana-Champaign has long had an excellent computer science programme. Its graduates are educated at the cost of Illinois taxpayers (both individuals and businesses), but tend overwhelmingly to leave the state. There's effectively no tech cluster near UIUC, and very little of one in Chicago itself. Tech employment in the state is ~320k vs. 1.4 million in California. And that's actually reasonably good --- 7th ranked in the US, ahead of Massachusetts, which at least has a tech tradition.
It's a bit hard to read by total employment and compensation, but my sense is that positions are less technically interesting within Illinois as well.
By position, top-10: CA, TX, NY, FL, VA, WA, IL, MA, PA, GA.
Bottom ten (starting at the bottom): WY, AK, ND, SD, MT, VT, HI, WV, DE, ME.
Top ten metros by tech employment: NYC, DC, LA, SJ, SF, Dallas, Seattle, Boston, Chicago, Atlanta.
Atlanta has 40% the tech employment of NYC.
https://www.cyberstates.org/#interactiveMap?geoid=0__usa
https://www.cyberstates.org/pdf/CompTIA_Cyberstates_2022.pdf