Is it? What's wrong with hiring talent for a higher salary?
You have no responsibility for an unrelated company's operations; if that was important to them they could have paid their talent more.