In the old days the players policed it.
When pitchers had to bat they’d get drilled for these kind of antics. Even in close games.
Nowadays the MLB celebrations are silly.
A walk-off HR gets fireworks, a Gatorade bath, and teammates jumping around like they won the World Series.
Even if the team has a sub .500 record.