aaronrajoo said:
If this is the case then I wonder why this happens since diffusion would seem to be something that bound electrons would tend not to do.
That's an interesting question. For the sake of completeness let me paint the whole picture. You have (say) phosphorus forming four bonds on the n-side with an extra electron. Say that we are at a temperature where the ionization energy of the extra electron in phosphorus has been overcome such that this extra electron is no longer bound to the donor, and is delocalized. At the same time we have (say) boron forming four bonds on the p-side, with one electron missing from one of the four bonds. I think that you found the hole diffusion a little strange because of the question: why would a silicon, on the n-side, be willing to remove an (valence) electron from one of its four bonds to give it to the incomplete fourth bond of the boron atom on the p-side? Here are my thoughts on this:
I think such a process occurs because it is energetically favorable. In case you care to know, I arrived at this explanation from the Landauer approach to quantum transport, where you compute conduction based on gradients in the chemical potential. This approach is a powerful technique and accounts for transport of charge carriers both by an electric field and via diffusion. But for this discussion I will stick to physical arguments and not get into the Landauer formalism. I will, however, make a reference to the density of states without getting into too many details.
You can see a qualitative profile of the density of states ##D(E)## in the conduction and valence bands on the n- and p-sides in the attached figure, where the vertical axis is obviously energy ##E##. The shaded regions represent states filled up with electrons. One thing to note is that this figure is not shown in equilibrium. In equilibrium the chemical potentials ##\mu_1## and ##\mu_2## will be the same. The process of leveling the chemical potentials involves the charge transfer process which gives rise to the depletion layer.
Now, you can see that on the n-side you can consider the valence band to be almost full (ignoring intrinsic holes). These valence electrons on the n-side see a lot of empty states at a lower energy on the p-side. This is what effectively drives the valence electrons from the n-side to the p-side, which is evidently enough to make silicon, on the n-side, remove an (valence) electron from one of its four bonds to give it to the incomplete fourth bond of the boron atom on the p-side.