Electrical contacts use pressure to maintain contact between two points. No different than a device like a flashlight which uses a bent metal tab or coil spring to make contact to the battery on one end, something to maintain pressure. Two flat surface even if they were exposed may wear or flex or somehow distort over time and would lose contact. I imagine it also accounts for any normal variation in manufacturing. So long as one of the two points of contact is spring loaded, it can flex and press back making up for any difference in height or length. It's not the only way to make contact, but it's the most effective for temporary electrical connections involving removable objects vs a more permanent connection like screws (car battery...