Do you think my sister is right about me being insensitive and cruel to my coworker about her hard times?

Okay look everyone has their own problem and goes through shit but that gives someone no right to come in or act all pisses off. Whatever their problem is, they need to work it out or keep it at home.
I don’t care about other people’s problems. I don’t. I have my own problems to deal with.
I mean I’ll lend a ear to shoulder to cry on if it’s my best friend or someone I’m close with but if it’s someone I barely know or a stranger, I DO NOT CARE ABOUT YOUR PROBLEMS OR YOU. So today my coworker came in pissed off and slammed her purse on the table very hard. I was like, “What the hell is wrong with her?” Or “Something work up cranky.” I just continued what I was doing. I wasn’t going to talk to her with that attitude. I just minded my own business and the other coworkers did as well. I understand she is going though a rough time with her dad being put on hospice and dying of cancer which I feel so bad for her for, but she didn’t have to come in all nasty and slamming her bag so I refused to speak to her. During lunch break I walked passed the restroom and I heard her screaming, “WHY DIDN’T ANYBODY ASK HE WHAT WAS WRONG? NOBODY CARES!”
I just continued to walk. So my sister asked me how was my coworker and I told her she came in cranky and she was bitter all day. None of us spoken to her. Someone did later on so I avoided her.” My sister was shocked that I didn’t ask what what was wrong. I mean why should I? With that ugly attitude, I wasn’t going to speak to her. If something was wrong, she should have spoken up about it. She’s an adult, not a child. My sister called me out for not caring enough and I was a bad coworker. I told her I’m not obligated to ask her and I had my own things to worry about. My sister (who is autistic) thinks we should be nice to everyone and get alone, but she has to not understand that not everyone will be nice and get alone and not everyone will care about you or your problems.
Do you think my sister is right about me being insensitive and cruel to my coworker about her hard times?
Post Opinion