It's how they lift their egos up. If you're not feeling that good you compliment people who are uglier than you so you can feel good about yourself. "If everyone is telling the ugly fat chick how pretty she is, I must be gorgeous"