Surrounded by an angry mob armed with baseball bats and poles who are OUT FOR BLOOD your first thought would be:
'WHAT HAVE I GOT TO LOSE?, I AM GOING TO DIE ANYWAY'
Suppose he went in there on foot and then started madly stabbing as many people as possible. We should have sympathy for him because he was frightened by the reaction of the crowd?