The electrical double layer, is commonly used to describe the origins of electric potentials that is fundamental to electrochemistry. This model is quite outdated from my understanding, but it is still used inside my textbook.
Right now, my understanding is that when a metal rod is placed within a solution of its respective ions, some of those metals atoms change to metal ions and go into the solution leaving a negative charge at the electrode surface. Hence, the metal cations inside the solution move towards the electrode surface. At this electrolyte - electrode interface there is now a seperation of charge, that gives rise to the phenomenon of electric potential. At least this how my cambridge textbook explains it.
Some answers on stackechange reinforce the theory as stated above. However, my problem lies in understanding why a negative layer of surface charge builds up in the first place. How can metal atoms just convert to metal cations and move into the solution? This doesn't make sense to me. The surface of the metal rod comes into contact with the electrolyte solution, so what is causing the surface to gain this initial negative charge?
The rest seems to make sense, but this part specifically doesn't.