the reason people feel better after hearing about another person's problem, is due to a thing I call personal therapy. Many people use this when they have a bad day. When they hear someone had something worse happen to them, they feel better and obligated to say they had a better day.
( this is all i can come up with sorry)