It's just supply and demand. There's more demand than supply for engineers, and more supply and than demand for sales, marketing, support, etc. That doesn't excuse no job security, unreasonable work/life balance demands, etc. The most optimum strategy is to treat all your employees well.