Types of bullying;
https://www.ncab.org.au/bullying-advice/bullying-for-parents/types-of-bullying/
"encouraging others to socially exclude someone"
https://www.verywellfamily.com/types-of-bullying-parents-should-know-about-4153882
"Relational bullies often ostracize others from a group"
https://bullyingnoway.gov.au/WhatIsBullying/Pages/Types-of-bullying.aspx
"Social bullying which includes consistently excluding another person.."
Interestingly, none of those sites (and the others which say the same thing) mention situations where a persons behaviour is the cause of the exclusion.
The message I get from the anti-bullying sites is that where someone does nothing wrong, but is excluded because a bully takes a dislike them and picks on someone so as to manipulate others as well, that is bullying.
The anti-bullying sites are silent when a kids behaviour is such it is no wonder they are excluded.
I think then, that it is not bullying when a kid does something which is clearly socially unacceptable or anti-social and that brings about his or her own exclusion.