Can a girl answer this?

A woman passed gas silently. I said "it stinks", and she said "I apologize. Excuse me".

Why did she say both of those things?