To understand the high frequency of these surnames, one must look at the naming conventions of the Iberian Peninsula. A vast majority of the most common Hispanic last names are patronymic—meaning they were originally formed by taking the father's given name and adding a suffix to indicate "son of."
In the Spanish tradition, this suffix is typically -ez. Therefore, Martinez originated as "son of Martin," Rodriguez as "son of Rodrigo," and Hernandez as "son of Hernando." This efficient naming system, combined with historical colonial expansion, led to a high concentration of these specific family names across Latin America and, subsequently, the United States.
Interestingly, the most common Hispanic last name in the U.S., Garcia, is an exception to this rule. Its origins predate the Roman Empire, likely stemming from the Basque word for "bear" or "young," making it one of the oldest surviving family titles in the Americas.