Attachment theory, developed by psychologist John Bowlby, helps explain how early interactions with caregivers influence how we connect with others in adulthood.