Why? Just about everyone watching recognised that this was manifestly unfair. It didn't end as a race because one driver was given a massive advantage over the other. If Masi had wanted to end with a race, he should have left the back markers as they were. As @byegad said - Max had the ability, the speed and, thanks to luck*, the tyres to be in with a chance of taking Hamilton and the back markers. It would likely have come down to the line and been a fantastic race.It's a bit weird criticising F1 for this stuff.
Instead, Max was given the biggest advantage it was possible to give, short of letting him overtake Hamilton and restart leading the race. It wasn't a sporting decision, it was a decision to hand Red Bull the victory on a plate, gift-wrapped, with a bow on top and sparkles.
*Mercedes only real chance to do an extra tyre change would have been earlier in the race, but would have gifted Max the lead - and given that Masi had already allowed Max to be dangerous / let him run people off the road, the risks were too big - I think against any other driver they might have risked it knowing that Hamilton had a good chance at a secure overtake.