There are 4 different eyewitness versions of exactly what happened, but all agree that the gunman was the aggressor who accidentally shot himself to death.
https://sg.yahoo.com/news/man-dies-accidentally-shooting-himself-015353368.html
https://sg.yahoo.com/news/man-dies-accidentally-shooting-himself-015353368.html