Even in the engineering field, pay is massively different for different types of engineers. Civil and mechanical engineers generally aren't making anywhere near what software engineers make in top markets, for example. Similar story with chemists working in biotech vs. physicists doing fundamental research.