This is basic psychology: being rich for no apparent reason causes cognitive dissonance. Cognitive dissonance is annoying/painful. So rather than change beliefs to see one's self as very lucky, in most cases the brain re-works reality to provide a rational explanation: the rich person worked hard/is smarter, etc.