COGNITIVE bias describes when your likes and dislikes affect how you think about something.
Cognitive bias encompasses a lot of biases. This bias is identified as an objective thinking limitation because your brain perceives information based on your personal experience and preference.
A lot of people tend to think negatively of things and ideas that they deem impossible or improbable or they have not personally experienced. They tend to be closed minded thus their life experiences will be limited.
Another example is when you undergo a trauma in any time of your life, the long term effect would be that you veer away from situations that are similar to the situation that led to the traumatic event. Because you already have a preconceived notion of an object or ideas, you tend to draw conclusion from this preconceptions and make generalizations that may be erroneous.