I realize this may not be strictly history, but I'm sure there are historical roots behind it.
hi! this is actually quite a common question here. There's more room for input on this, but meanwhile, check out these earlier threads
Why is Mohammad such a common name in the Muslim world? - featuring /u/keyilan and /u/opensacked
Why did "Jesus" become a popular name in Mexico, but not the rest of the Christian world? - follow the links to a half-dozen more
Some of these posts have been archived, so if you have follow-up questions on those, just ask them here and mention the relevant user's username to notify them.