They are belittling a woman's opinion and telling her how they think she should react to a situation. I do not think they would treat a man in the same way (even if a man went through what she did, which is never going to happen).
I believe that is sexist, yes.