What makes an element electronegative. I understand, for example, $\ce{P(OR)3}$ is less basic than $\ce{PR3}$ because the oxygen in $\ce{P(OR)3}$ is more electronegative than P, so it pulls electron density away from the phosphorus, making the lone pair less available, and so, in turn making the phosphite less basic than the corresponding phosphine.
But, what about the oxygen makes it more electronegative than the phosphorus? Is it because of effects of shielding and penetration(?)* that makes oxygen better at pulling electron density. (because it has a higher Zeff)
*I don't think I fully understand what penetration is,so if does have something to do with penetration, could you explain from which orbital will the electrons penetrate to and from, directly referring to oxygen and phosphorus.