Peer rejection can negatively impact social cognition by affecting self-esteem, social skills, and emotional well-being. Coping mechanisms such as seeking support from other peers, developing resilience, and engaging in self-reflection can aid in cognitive development and mitigate the effects of peer rejection on social cognition.