Answer :
Let’s say a neurologist,they make 2x more (maybe even more than that) than the average median for the U.S household.This job would pay more because they conduct (dangerous if not done right)surgeries to many people.This job helps people.It effects the wages for this job because of the amount of time that the neurologists need to get their degree/job(its around 10+ years).So many people tend to not go for the job,hence why the demand for it is high.
This was one example,search up for more info
This was one example,search up for more info