Sometimes though ovum gets fertilised, it does can not devolop in a baby (Blighted ovum
),Orthe devolopment stops suddenly due to foetal death .,Due to unfavorable conditions.
As there is no chance of growth, it's better to remove it. your dr. has adviced correctly.
After the abortion
, you shold get investigated to find the cause,so as to prevent it in next pregnancy