 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 it's seen as a celebration with the commander liking to groom on his wedding day. Those gunshots, that celebratory gunfire.