Of course, when someone tells you his mother died and you smile like an idiot, it surely will not create a positive effect.
The way I understood OP, it seemed as if - in a normal setting - smiling would be frowned upon when talking to people in general in some places... which I find hard to believe.