As @Thomas already mentioned the nominal length of a PhD program in Europe is often 3-4 years instead of 5 years, depending on the country. However, there is a big difference between how long policy makers think a program should take and how long it takes actual students to finish those programs... You can easily add a a year or more to each of the programs if you want to talk about the actual durations.
As to why such differences exist, the answer is just that such programs were designed in different national contexts by different decisionmakers who made different choices. Within the European Union there have been attempts to harmonise what a university program looks like. However, there is no supernational body of the same strength as the EU that encompasses both Europe and the USA. So differences between the EU and USA are likely to persist.