 It's a martyr's funeral. Deeply sad, of course, for those close to him, but overlaid with celebration, as martyrdom is considered a certain route to paradise. The music is inspirational songs about the fight for liberation. There are women on the side throwing rice because this is seen as a celebration, with the commander likened to a groom on his wedding day. Those gunshots, that celebratory gunfire.