maternal-fetal medicine?

So I went to my second appointment yesterday and was told I was going to get refered for my 18-20 week. I was thinking it was going to be to find out the gender but I got a call today from the people that gets the referral to make the appointments and it was for maternal-fetal medicine and I had no clue what that was and so I went along with it and when we hung up I googled it and it was saying its for high risk pregnancy and I didn't even know I was one or why. Any idea why? And I also have another appointment with my actual doctor around that time too.