Well it depends. If they are someone really close to me and there is no reason for them to behave badly, then I would be hurt and express it to them. But some times when we are in the middle of something we are self absorbed and cannot see that other people are also struggling. There are times when I have been stressed from work or sad because of something in my life and I have not been there for people, so I try to remember this when I am going thru something and when certain friends have not been there for me.
I have a pretty good friend that is extremely selfish. She had a really bad childhood and even though you would think that she would be able to be understanding and sympathetic, she cannot be. I have discussed it with her and she does not feel that she abandons her friends when they are in need. I recognize her limitations and do not go to her when something bad happens. I will share the experience later, but not when I am in the moment.
If you are good friends w/ this person and they have hurt you, I would say wait for the sting of the hurt to pass and then discuss it with them. You may find out that there was a "reason" they behaved the way they did. It does not excuse the behavior, but it may explain it.
As humans we are granted leave to make mistakes. L_G of the making mistakes human race.