The big difference between blowing yourself up in a crowded place and self and self-immolation or a hunger strike to the death is that the latter two don't involve killing others along with the self-sacrifice.
The roots of the myth of the suicide killer as hero go back a long way. Samson pulling down the pillars is perhaps the earliest example.