Why did I get banned

I'm just wondering why I got 5 afk 20 min bans, I feel like it's unfair after a game I finished playing it said I was afk and due to that I had to do 20 minute bans for 5 games. I did dc from the game but then I reconnected back to it if you have a look riot
Report as:
Offensive Spam Harassment Incorrect Board