When you realise someones behaviour is because of issues in their life today, be understanding.
Just as issues in your life may cause you to behave in a certain way you will realise today that this is also true for others and others have their own problems that might mean they behave negatively sometimes. Communicate with them and try to find out what the issues are, maybe you can help them. Forgive them their behaviour and be understanding.