It's the team's fault IMO. Each driver is given 3 sets of Prime and 3 sets of Option tyres for Quali + race. Hamilton already used up 2 sets of soft for Quali, so he had to use the hard tyres in the race.
Add to that their baffling pit stop strategy, Mclaren basically ruined the race for Hamilton.