Earlier quoted context omitted.
It was a female agent, that doesn't mean that it's okay to start groping someone without warning.
You phrased it as "If you're not going to get consent to grope girls", so why is it relevant that she is female?
The fact that the TSA agent a woman doesn't automatically make someone else comfortable with whatever liberties the agent feels like taking. It's still likely worse if it's a man doing it, but sharing a gender isn't an excuse for the agent to do whatever they want.