Was I rude?

I live exactly 1 block from my pharmacy so I decided to just walk there to get my exercise. On the way there this couple was smoking. I didn't realize it at first and they cut in front of me then I started hacking up a storm And noticed the cigarettes in their hands. After a couple minutes I said "Excuse me is it okay if I walk in front of you? I'm pregnant and the smoke is making me cough and I don't think it's good for me". They just stared at me and stood there but didn't say anything so I awkwardly walked really fast in front of them. I wasn't that far away when I heard the wife saying I was really rude. Later when I waiting at the crosswalk they went on the side of me and started blowing smoke. Me and another pedestrian were just standing there coughing. When the light gave us the signal to start walking they weren't even waiting for it. They continued walking on the crosswalk in the other direction and didn't even cross the street. I don't know if what I did was rude. ?? Was it? I know I shouldn't get special attention for being pregnant but we were coughing and it was hard for us to breathe. I was just happy to cross the street. Sorry for this being long.