Because doctors are only human, and they're doing the best they can with what tools they have and what they know. If someone comes in with all the symptoms of X disease, you're going to treat them for X disease instead of straightaway concluding that they have a worm living in their brain that has never before been seen in humans and treating them with medicine we usually give to horses to get rid of parasites.