What for has 3 different meanings across 1 category:
Noun
a strong reprimand
An unspecified punishment or rebuke
For what purpose.