A pregnant woman who had no previous prenatal care presented to the emergency room 5 months after her last menstrual period complaining of spotting. An enlarged uterus, corresponding to a 7-month pregnancy, was noticed. No fetal movement was evident. What is the most likely diagnosis and why?