As salaries increase more will major in STEM; it is called supply and demand. Works with wages and career choices also.
Supply & Demand doesn’t work if the Government is allowing Tramp Steamers filled with guest workers into the country to depress wages.