Why is he mad at me for cutting him out?

Yes I did a childish thing but I cut off contact with one of my guy friends after he really hurt and upset me and now he’s angry, how does that work?
Why is he mad at me for cutting him out?
Post Opinion