Following the a spectacular crash of Charles LeClerc into the barriers at Parabolica - ending Ferrari's weekend at Monza -, the race was red flagged as they needed to repair the tyre barriers for it to be safe.
Moments before the crash, Kevin Magnussen had to retire due to mechanical issues and stopped his car near the pit lane entrance past Parabolica, causing FIA to close the Pits until it was clear.
Giovinazzi and, more importantly, Hamilton did not adhere to flashing red lights and went in anyway to swap tyres during Safety Car conditions, which resulted in ten-second stop and go penalties for both drivers.