Charger + shopping cart + temper = cops

why would you go to jail? and if it happen in front of your house wouldent it be the same?