It's positive ions entering the cell. If you're near the dendrite, but
not in it, since dendrites are tiny, the charges are leaving the
electrode region to enter the dendrite, so the electrode region is
negative. If you're in the soma, the ions are entering the region around
the electrode, so it looks positive.
However I would love someone with a better answer to chime in.