Why is the US keyboard symbol layout different from most other keyboards?

If you look at the US keyboard layout and compare to many other layouts(except UK English) the symbols are often in a different order.

What is the historical reason for this?

It would seem to me that if they are going to copy the QWERTY keyboard layout like most countries did then they would also copy the symbol locations?

I am ignoring the fact that some have different symbols entirely. For example looking at the Spanish keyboard, it's like somebody just put the symbols in random places.

Spanish enter image description here French enter image description here German

enter image description here