It's not really about your intent or meaning so much as the role you're playing in the discussion. You can disagree with someone in a variety of ways, and not all disagreements are adequate. For example, when someone is becoming an alcoholic, saying "well your behavior is destructive but I also understand that you like being drunk so I can seen seeing you're doing what you're doing" doesn't do the trick.The reason they were irritated at her sarcasm is clearly motivated by sexism, there's absolutely no reason to deny that and I definitely never intended to, so I apologize. I see no reason to get super defensive here - I want people to actually understand what I meant.
Is the statement inherently wrong? No, but it's also an inadequate response to harmful behavior.
Simply disagreeing with people who defend sexist rhetoric isn't enough. It doesn't get the job done, and at a certain point, silence may as well be complicity.