There is the difference that one happens still in game and thus can be considered a part of the often defended trash talk culture.
Taunting your enemy during the game has the purpose of making them lose focus which, while still a debatable topic, means it's at least related to the actual game. It's, to some degree, a tactic.
Taunting the enemy after the game is over has no other purpose than making them mad and angry.
Hence why personally I don't mind trash talk - including spamming taunts/laughs - as much as I mind "gg ez". I don't even mind "gg ez" per se, I mind people who do things with the pure intention of making others feel bad (and themselves good in the process).
Edit: The moment somebody gives me a good reason why they type gg ez for a reason that can't be summarized as "enjoying yourself at the expense of others" I'll stop reporting for it, I mean it.