Etymology
Today it means: To browbeat or reprimand (someone) harshly, usually in front of other people. Full definition →
Metaphorical use of a literal phrase (slap + down).
Etymology from Wiktionary, CC BY-SA 4.0.