The saying says that "the grass is always greener on the other side", and yet there are a lot of circumstances in which people will fiercely defend their present circumstances, even when they're pretty clearly inferior to the alternatives. For example, most people show great devotion to their hometown, even when from an objective standpoint it may have little to recommend it. This isn't universal, but even people who have left their hometown often speak very highly of it.
So what makes some situations ones in which the grass tends to look greener elsewhere, while other situations elicit loyalty despite their faults? Does it depend on how much of an investment the situation demands for entry? A person who has invested years into a company might be reluctant to admit that another company is better. Yet, a person who invests thousands of dollars in a new car will often have second thoughts and wonder if he should have bought something else. Are there other factors? People may show more loyalty to situations that involve other people who have become their friends than to situations the relate only to inanimate objects.