It would make sense if Sakumo's suicide is because he prized his own companions over, for example, a mission to save the Uzumaki. So he sacrificed the Whirlpool Kingdom to save his friends/teammates, which is why the villagers ostracize him, and why he suicided?