The cause of someone developing a bias in which they view their own experiences as the whole truth and assume their own point of view is how others see the world is best described as cognitive bias.
Cognitive bias refers to the systematic ways in which the context and framing of information influence individuals' judgment and decision-making, including overestimating the universality of their own experiences and perspectives.