I would apologize if I said "fuck" near my country's president, or even the president of my small-ish company. Both of whom are male. It's a sign of respect. In the context of women, I see it in a similar light to holding the door open for a lady. It isn't me assuming she's too weak to open a door, it's just a common courtesy.
I'm genuinely sorry that the author was offended by the guy apologizing for saying "fuck" near her. I can't speak for him, and perhaps he was a total douchebag. But perhaps he was aware that on average men can be more crude than women, and in a professional (male-dominated, numerically speaking!) setting like that one, it's prudent to avoid language that could make people feel uncomfortable.