That’s how they discourage leavers.
If it happens a second time within a certain amount of time (or games?), you’ll be suspended for I think 30 minutes. Then if it happens a third time, 2 hours. It gets longer and longer until you’re just banned from the season.