because a layered character with different motivations is more compelling than someone who just does good because it is the right thing to do plus that way of behaving is unrealistic. Ironman is a more interesting character than Captain America, Homer is more interesting than Ned Flanders, Omar is more interesting than Captain Planet and so on and so forth