The foreskin is attached to the glans at birth and does not retract fully for years. The vast majority of American doctors are ignorant about the foreskin and its function. This leads to disagreement with parents, because doctors recommend circumcision out of ignorance. One parent will insist upon it and the other will oppose, causing the court to have to intervene. I think it's important to realize that the development of the foreskin is not well understood.
Many doctors know how to cut it off, but they have no knowledge of what the foreskin is.
They know nothing about the anatomy, physiology, or function of the foreskin. Even professors of urology do not understand the function of the foreskin. Most every problem that occurs with the foreskin can be solved without cutting it off. This is also true for physicians. There are many good articles.