Treating people good only when your feeling good means it's an effort to be nice. Are you really a nice person when it counts? or does being nice take all your energy?.Being short with people over minor issues and blaming them for the cause of your bad day is really your defence mechanism trying to stop you from delving deep into what's bugging you. Are you really the one with the problem? If you accept yourself as you are you'll find it easier to accept others as they are and you won't need to pretend that you are a tolerant person. Smiling will come easier without trying so hard to be happy.