We were having a team meeting and she was wearing a really revealing top. I said to her “it looks like you brought the puppies out tonight”as a joke. She looked at me and said it was extremely inappropriate to make that comment. She went on and said more things like “I didn’t come to work to get sexual remarks from you” etc 

While I do agree that it was inappropriate.. however she has done inappropriate things to me at work like punch my balls “as a joke” (twice) so I was genuinely confused how I’m the asshole for making that comment when she has done that which is much worst IMO. 