The vast majority of fields are simply not lucrative enough for the median salary to be anywhere near $200,000/yr. A chemical engineer is typically unable to create anywhere near as much value as a software developer at a leading company and is compensated accordingly.