To scold.
From analogy with dress up.
give someone hell
To castigate someone; to dress them down.
dress to kill
To dress up so as to impress others (especially of the opposite sex).