:
The transition to Socket AM5 marked a move to LGA 1718. Comparing the two sheds light on why the AM4 pinout was designed the way it was: am4 pinout diagram
The AM4 socket, used by AMD's Ryzen processors, features a 1331-pin grid array (PGA) : The transition to Socket AM5 marked a move to LGA 1718