If you find videos of Muslims being murdered by the IDF distasteful, don't watch them. They even murdered their own people, simply because they were waving a white flag.
I wouldn't expect that to ruffle many feathers, friendly fire often kills their own by mistake, however the waving of a white flag is most certainly a line crossed. On the opposite side to the coin, an enemy like hamas cannot be trusted with a white flag and could easily be abused by them to make a surrender only to then open fire on the troops that are accepting their surrender. It happens and so the IDF were taking no chances. Not great I know but it is what it is,