My thoughts go out to you.
You can't know whether drinking contributed to the event some years ago, but if it makes you feel better I have a friend who has never touched alcohol in their life and still went through pregnancy issues similar to yours.
I think a lot of us blame past events on our drinking, so you are very much in similar company with that.