How do environmental factors influence social cognition?