The 5s penalty does almost nothing for anyone. It's way too low a penalty for anything. Regardless of how good your car is. It's only annoying if you got lucky earlier with a car where you're actually out of position where your car should be.
Commentary here speculated it was probably 5s because of Piastri being partially responsible for pushing Verstappen off, where Lawson took full blame and got 10s.