I get really frustrated with people that are so bold as to just come out and ask. Some people have difficulty conceiving, want to wait, or simply don't want children. I think it is very rude to ask. You never know a person's situation.
In your case, you have had 2 miscarriages and it was probably difficult to have someone ask. I'm sorry about that!
Bottom line... people can be rude!