At such a moment, it is not the physical pain which hurts the most (and this applies to adults as much as to punished children); it is the mental agony caused by the injustice, the unreasonableness of it all.
Viktor E. Frankl (2015). “Man's Search For Meaning, Gift Edition”, p.25, Beacon Press