It’s not clear why this arose; there are a variety of theories—my favorite of which is that some leader was born without a foreskin and therefore made everyone else remove theirs—and the practice might have begun for different reasons in different locations.