It's there to manipulate another individual.
Doesn't matter what the subject is, but the competitiveness to try to down-talk someone or try to feel superior or simply just to put someone off. Trash-talked is frowned upon here, depending on the manner of it. A simple banter that fixated on flexing your skills or to throw someone off, isn't all that bad, however, up until it actually gets to them. It can really frustrate people in this game because this game alone takes a lot of self-control for what we do and say, otherwise, if we slip and we get used to doing it, we may face some consequences with Riot. What I mean by that, is getting used to lashing out and being negative or toxic or retaliate and doing it consistently.
So people here don't really like it and really looks down on it. Also, another problem with trash-talking, majority of the times, they're not even trash talking to our opponents as do to their own teams. So there's a lot of flaws with trash-talking when it comes to League. Mostly due to how it can create toxicity from nothing with people that have little to no self-control.