Was I wrong?

Ok so I was at the gas station getting gas and this young lady walks up to me and asked me to buy her some condoms. She gave me the cash and we went in and i got them for her. We then exchanged Snapchats so if she ever needed anything else she could message me. Then a few days latter her mom found me and started to harass me. Telling me that it wasn't my place to buy her kid condoms. That she didn't believe in birth control or condoms so her daughter wasn't allowed to use them. I got mad and told her that I am a mom too and if my son was to walk up to someone and ask them to get condoms for him I would thank them not get mad because teen pregnancy is hard. And so is school. I told her I wasn't sorry and if her kid came up to me again I would do it again. Was I wrong.