It's natural to be angry and frustrated, yes, but I wouldn't say it's natural to start flaming and harassing the player, considering that a large majority of the community doesn't do that, or at the very least not frequently enough to be punished.
As for your analogy, is the crying baby in the theater annoying? Hell yeah it is, and it's completely normal to be frustrated with the baby/parents. However, if you start "flaming" the parents for their crying baby, then all you're doing is simply adding on to the disruption the baby is causing, and you are very likely to get thrown out along with the baby/parents.
On the other hand, if you go talk to management or some sort of employee, you can have them take care of the situation and escort the baby/parents out without getting thrown out yourself.
It's the same situation with League. If someone is trolling, it's completely understandable to be annoyed and frustrated with that player. However, if you start to flame them, you're simply adding on to the negative environment that the troll is causing, and both of you are very likely to get punished. On the other hand, you could simply report the troll and have them get punished but not you.
Now, yes I understand that you believe trolls don't get punished, but they do. It's just that it often requires a manual review due to the fact that trolling can very easily look like someone having a bad game, and Riot wants to be 100% positive that they don't punish players for that. This does mean that trolls can slip by for longer than they should, which is very unfortunate, but Riot wants to be very sure that they don't ban innocent players.