This explains how a stranger would risk their life to save you:
giving an obviously wrong answer to a question because you don't want to go against the group:
Social psychology review